diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-12-30 16:30:20 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2025-03-14 01:01:36 +0100 |
commit | f5426be2f5340cfe103a8cf0153821dffe7c55d4 (patch) | |
tree | 136ff0d7a9bdec654502437acff1c7153aed128a /systems/eldiron/mail/postfix.nix | |
parent | 710a9a6617422335bb84c5314394977310c073ef (diff) | |
download | Nix-f5426be2f5340cfe103a8cf0153821dffe7c55d4.tar.gz Nix-f5426be2f5340cfe103a8cf0153821dffe7c55d4.tar.zst Nix-f5426be2f5340cfe103a8cf0153821dffe7c55d4.zip |
Add missing borg backup config
Diffstat (limited to 'systems/eldiron/mail/postfix.nix')
-rw-r--r-- | systems/eldiron/mail/postfix.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/systems/eldiron/mail/postfix.nix b/systems/eldiron/mail/postfix.nix index ce7615d..c526c84 100644 --- a/systems/eldiron/mail/postfix.nix +++ b/systems/eldiron/mail/postfix.nix | |||
@@ -10,6 +10,13 @@ in | |||
10 | apply = builtins.mapAttrs (n: v: if builtins.isList v then builtins.concatStringsSep "," v else v); | 10 | apply = builtins.mapAttrs (n: v: if builtins.isList v then builtins.concatStringsSep "," v else v); |
11 | }; | 11 | }; |
12 | config = lib.mkIf config.myServices.mail.enable { | 12 | config = lib.mkIf config.myServices.mail.enable { |
13 | services.borgBackup.profiles.global.ignoredPaths = [ | ||
14 | "postfix/conf" | ||
15 | "postfix/data" | ||
16 | ]; | ||
17 | services.borgBackup.profiles.global.includedPaths = [ | ||
18 | "postfix/queue" | ||
19 | ]; | ||
13 | myServices.dns.zones."immae.eu" = with config.myServices.dns.helpers; lib.mkMerge [ | 20 | myServices.dns.zones."immae.eu" = with config.myServices.dns.helpers; lib.mkMerge [ |
14 | mailMX | 21 | mailMX |
15 | (mailCommon "immae.eu" true) | 22 | (mailCommon "immae.eu" true) |