update vm file, fix README, add working dir in module

This commit is contained in:
Jonas Heinrich 2025-08-18 16:17:35 +02:00
parent 805e5be3b1
commit 8bd5cace11
5 changed files with 41 additions and 31 deletions

View file

@ -96,6 +96,8 @@ in
serviceConfig = {
Type = "simple";
ExecStart = "${lib.getExe pkgs.mail-quota-warning}${lib.optionalString (cfg.secretFile != null) " --config ${cfg.secretFile}"}";
WorkingDirectory = "%S/mail-quota-warning";
StateDirectory = "mail-quota-warning";
# hardening
AmbientCapabilities = "";