services: Add network-online-service-type and home-network-online-service-type.

* modules/rosenthal/services/networking.scm (%network-online-shepherd): New
procedure.
(network-online-service-type, home-network-online-service-type): New variables.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-services/base)
(%rosenthal-desktop-home-services): Add them.
This commit is contained in:
Hilton Chain committed 2026-02-19 21:39:21 +08:00
1 parent 9cb7193827
commit 0dbc71e278
2 files changed
+65 -2

No files matched your search

+6 -1
View File
@@ -25,6 +25,7 @@
#:use-module (gnu services sddm)
#:use-module (gnu services xorg)
#:use-module (rosenthal services base)
#:use-module (rosenthal services networking)
;; Guix Home - services
#:use-module (gnu home)
#:use-module (gnu home services)
@@ -626,7 +627,9 @@ gtk-key-theme-name = ~a~%"
gdm-service-type
sddm-service-type))
(cons* (service bluetooth-service-type
(cons* (service network-online-service-type)
(service bluetooth-service-type
(bluetooth-configuration
(auto-enable? #t)))
@@ -699,6 +702,8 @@ gtk-key-theme-name = ~a~%"
(auto-start? #f)
(daemonize? #f)))
(service home-network-online-service-type)
;; NOTE: The environment variable set by ‘home-dbus-service-type’ will
;; prevent GNOME from starting when using above Shepherd configuration.
;; Replace ‘home-dbus-service-type’, expecting the session bus will be