diff options
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) |