From 5b30cc9ab43c1cd9078f3438bdd395450b02eea1 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 11 Jun 2026 06:32:06 -0300 Subject: etc/guix/home.scm: modify instead of duplicate home-xdg-base-directories-service-type --- etc/guix/home.scm | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'etc/guix/home.scm') diff --git a/etc/guix/home.scm b/etc/guix/home.scm index 52391bd7..c80b1c51 100644 --- a/etc/guix/home.scm +++ b/etc/guix/home.scm @@ -518,6 +518,16 @@ (script "cronjob" (slurp (string-append (getenv "HOME") "/.usr/etc/sh/cronjob.sh")))))) + (essential-services + (modify-services ((@@ (gnu home) home-environment-default-essential-services) + this-home-environment) + (home-xdg-base-directories-service-type + _ => (home-xdg-base-directories-configuration + (cache-home (xdg "var/cache")) + (config-home (xdg "etc")) + (data-home (xdg "share")) + (log-home (xdg "var/log")) + (state-home (xdg "var/state")))))) (services (append %base-home-services @@ -525,13 +535,6 @@ (service (home-service 'clipmenu clipmenu "/bin/clipmenud")) (service (home-service 'dunst dunst "/bin/dunst")) (service (home-service 'poweralertd poweralertd "/bin/poweralertd")) - (service home-xdg-base-directories-service-type - (home-xdg-base-directories-configuration - (cache-home (xdg "var/cache")) - (config-home (xdg "etc")) - (data-home (xdg "share")) - (log-home (xdg "var/log")) - (state-home (xdg "var/state")))) (service home-syncthing-service-type) (simple-service 'my-shell-profile home-shell-profile-service-type (list (plain-file -- cgit v1.3