nix/hm: restart shell on config changes (#482)

This commit is contained in:
Bruno Inec 2025-08-27 16:22:26 +02:00 committed by GitHub
parent a1d5a16392
commit be4047201f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = {