aboutsummaryrefslogtreecommitdiff
path: root/tw/home.scm
diff options
context:
space:
mode:
authorTimo Wilken2024-03-01 00:12:25 +0100
committerTimo Wilken2024-03-01 00:12:25 +0100
commitbb25a3927805cbfa492f2698c60e508183124e18 (patch)
tree6d23db5803667372918f3be05f67d6abd3534c0d /tw/home.scm
parent082c66199dbe047ac165f3ffcb13972c020612a8 (diff)
Activate home-dbus service only in graphical environments
It's annoying on servers, because logging in via SSH spawns a new Shepherd + dbus instance each time.
Diffstat (limited to 'tw/home.scm')
-rw-r--r--tw/home.scm7
1 files changed, 1 insertions, 6 deletions
diff --git a/tw/home.scm b/tw/home.scm
index 9eca91b9..efa21344 100644
--- a/tw/home.scm
+++ b/tw/home.scm
@@ -636,12 +636,7 @@ show_border=1
(service-extension home-files-service-type non-xdg-configs)
(service-extension home-environment-variables-service-type environment-variables)
(service-extension home-mcron-service-type cron-jobs)
- (service-extension home-shepherd-service-type shepherd-services)
- ;; The dbus service doesn't seem to be added automatically.
- ;; Always activate it, even in non-graphical environments, because the
- ;; `service-extension' itself can't depend on the `tw-home-configuration'.
- ;; It shouldn't be too much overhead, though.
- (service-extension home-dbus-service-type (const #t))))))
+ (service-extension home-shepherd-service-type shepherd-services)))))
;;; Restic backup helpers