Compare commits

...

2 Commits

Author SHA1 Message Date
Hilton Chain
b0e3e8d036
services: Don't include network-online by default.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-services/base):
Remove network-online-service-type.
* modules/rosenthal/services/desktop.scm (%rosenthal-desktop-home-services):
Remove home-network-online-service-type.
2026-03-10 00:04:57 +08:00
Hilton Chain
0ed25fc96f
services: network-online: Fix sleep reference.
* modules/rosenthal/services/networking.scm (%network-online-shepherd): Fix
sleep reference.
2026-03-08 20:04:48 +08:00
2 changed files with 5 additions and 7 deletions

View File

@ -643,9 +643,7 @@ gtk-key-theme-name = ~a~%"
gdm-service-type
sddm-service-type))
(cons* (service network-online-service-type)
(service bluetooth-service-type
(cons* (service bluetooth-service-type
(bluetooth-configuration
(auto-enable? #t)))
@ -718,8 +716,6 @@ 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

View File

@ -51,6 +51,7 @@
(start
#~(lambda _
(let ((timeout #$(file-append coreutils-minimal "/bin/timeout"))
(sleep #$(file-append coreutils-minimal "/bin/sleep"))
(sh #$(file-append bash-minimal "/bin/sh"))
(ping (if #$home-service?
"ping"
@ -60,9 +61,10 @@
(format #f "\
until ~a -qc1 -W1 example.org
do
sleep 1
~a 1
done"
ping)))))))))
ping
sleep)))))))))
(define network-online-service-type
(service-type