Home Gen66 @ 2025-10-31-00:26 by jonas@monolith

This commit is contained in:
Jonas Röger 2025-10-31 00:26:27 +01:00
parent 71ba6f354f
commit d5e924cc4c

View File

@ -100,14 +100,17 @@ in {
After = ["sops-nix.service"]; # After the secrets have been rendered After = ["sops-nix.service"]; # After the secrets have been rendered
}; };
Service = { Service = {
ExecStart = "${pkgs.gotify-desktop}"; ExecStart = "${pkgs.gotify-desktop}/bin/gotify-desktop";
}; };
Install = { Install = {
WantedBy = ["multi-user.target"]; WantedBy = ["multi-user.target"];
}; };
}; };
sops.templates."gotify-daemon-toml" = { sops.templates."gotify-daemon-toml" = {
content = lib.generators.toINI {} daemon-config; content = ''
[gotify]
${lib.generators.toKeyValue {} daemon-config.gotify}
'';
path = "${config.xdg.configHome}/gotify-desktop/config.toml"; path = "${config.xdg.configHome}/gotify-desktop/config.toml";
}; };
}; };