From be4047201f610d2703bfb51d78da8b329e9ecd6a Mon Sep 17 00:00:00 2001 From: Bruno Inec Date: Wed, 27 Aug 2025 16:22:26 +0200 Subject: nix/hm: restart shell on config changes (#482) --- nix/hm-module.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nix') diff --git a/nix/hm-module.nix b/nix/hm-module.nix index 9538965..f87a138 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -60,6 +60,9 @@ in { Description = "Caelestia Shell Service"; After = ["graphical-session.target"]; PartOf = ["graphical-session.target"]; + X-Restart-Triggers = lib.mkIf (cfg.settings != { }) [ + "${config.xdg.configFile."caelestia/shell.json".source}" + ]; }; Service = { -- cgit v1.2.3-freya