diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-24 16:09:20 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-24 16:09:20 +0100 |
commit | b5fc07416652a445f15946ce7e5fc48766cf6722 (patch) | |
tree | de37587f0673e4aea12bc0532ee1b3879ab1e31c /system/services/mail | |
parent | fix(modules/back): Set now needed source code URL environment variable (diff) | |
download | nixos-server-b5fc07416652a445f15946ce7e5fc48766cf6722.zip |
refactor(modules/impermanence): Migrate to by-name while distributing mods
Diffstat (limited to '')
-rw-r--r-- | system/services/mail/default.nix | 4 | ||||
-rw-r--r-- | system/services/mail/impermanence.nix (renamed from system/impermanence/mods/mail.nix) | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/system/services/mail/default.nix b/system/services/mail/default.nix index 382a87f..c69e6bd 100644 --- a/system/services/mail/default.nix +++ b/system/services/mail/default.nix @@ -6,6 +6,10 @@ ]; users = import ./users.nix {}; in { + imports = [ + ./impermanence.nix + ]; + mailserver = lib.recursiveUpdate { enable = true; diff --git a/system/impermanence/mods/mail.nix b/system/services/mail/impermanence.nix index a306ccf..22a5318 100644 --- a/system/impermanence/mods/mail.nix +++ b/system/services/mail/impermanence.nix @@ -1,5 +1,5 @@ {...}: { - environment.persistence."/srv".directories = [ + vhack.persist.directories = [ { directory = "/var/lib/mail/backup"; user = "virtualMail"; |