diff --git a/nix/hm-modules.nix b/nix/hm-modules.nix index 286f0cb..878e02c 100644 --- a/nix/hm-modules.nix +++ b/nix/hm-modules.nix @@ -100,6 +100,9 @@ in { xdg.configFile = { "mango/config.conf" = lib.mkIf (cfg.settings != "") { text = cfg.settings; + onChange = '' + ${self.packages.${pkgs.system}.mango}/bin/mmsg -d reload_config + ''; }; "mango/autostart.sh" = lib.mkIf (cfg.autostart_sh != "") { source = autostart_sh;