From bb25a3927805cbfa492f2698c60e508183124e18 Mon Sep 17 00:00:00 2001 From: Timo Wilken Date: Fri, 1 Mar 2024 00:12:25 +0100 Subject: 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. --- tw/home.scm | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'tw/home.scm') 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 -- cgit v1.2.3