From 27f75eb0289e0a8607bd35f9a63c5203bb6397d8 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 19 Oct 2025 20:10:56 +0200 Subject: [PATCH] make hm-module reload on change --- nix/hm-modules.nix | 3 +++ 1 file changed, 3 insertions(+) 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;