make hm-module reload on change

This commit is contained in:
Your Name 2025-10-19 20:10:56 +02:00
parent 75f45fd534
commit 27f75eb028

View file

@ -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;