diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2024-10-30 10:25:16 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2025-03-14 00:55:02 +0100 |
commit | 3695009c683596c1e8edd05fa68777de9eaa4c7f (patch) | |
tree | 5e9de2e259ce052d22fad3da2463c55656440c7d /flakes/private | |
parent | 3f2e6a39f854db44e68af11abe7c2e3dbf76fc12 (diff) | |
download | Nix-3695009c683596c1e8edd05fa68777de9eaa4c7f.tar.gz Nix-3695009c683596c1e8edd05fa68777de9eaa4c7f.tar.zst Nix-3695009c683596c1e8edd05fa68777de9eaa4c7f.zip |
Add external dkim domains
Diffstat (limited to 'flakes/private')
-rw-r--r-- | flakes/private/borg_backup/flake.lock | 2 | ||||
-rw-r--r-- | flakes/private/chatons/flake.lock | 2 | ||||
-rw-r--r-- | flakes/private/environment/flake.nix | 5 | ||||
-rw-r--r-- | flakes/private/mail-relay/flake.lock | 2 | ||||
-rw-r--r-- | flakes/private/milters/flake.lock | 2 | ||||
-rw-r--r-- | flakes/private/milters/flake.nix | 3 | ||||
-rw-r--r-- | flakes/private/monitoring/flake.lock | 2 | ||||
-rw-r--r-- | flakes/private/opendmarc/flake.lock | 2 | ||||
-rw-r--r-- | flakes/private/ssh/flake.lock | 2 | ||||
-rw-r--r-- | flakes/private/system/flake.lock | 2 |
10 files changed, 15 insertions, 9 deletions
diff --git a/flakes/private/borg_backup/flake.lock b/flakes/private/borg_backup/flake.lock index 4d620ad..965a940 100644 --- a/flakes/private/borg_backup/flake.lock +++ b/flakes/private/borg_backup/flake.lock | |||
@@ -3,7 +3,7 @@ | |||
3 | "environment": { | 3 | "environment": { |
4 | "locked": { | 4 | "locked": { |
5 | "lastModified": 1, | 5 | "lastModified": 1, |
6 | "narHash": "sha256-xrpwkilnPpT6TklQVoLrID8tWUZAH4PJ5XqhRHXGbvo=", | 6 | "narHash": "sha256-PQ5694ARRlpj00lk/C/T0UPGhPO+n0TEcLR1mde0s8M=", |
7 | "path": "../environment", | 7 | "path": "../environment", |
8 | "type": "path" | 8 | "type": "path" |
9 | }, | 9 | }, |
diff --git a/flakes/private/chatons/flake.lock b/flakes/private/chatons/flake.lock index 1e163a2..ca16714 100644 --- a/flakes/private/chatons/flake.lock +++ b/flakes/private/chatons/flake.lock | |||
@@ -3,7 +3,7 @@ | |||
3 | "environment": { | 3 | "environment": { |
4 | "locked": { | 4 | "locked": { |
5 | "lastModified": 1, | 5 | "lastModified": 1, |
6 | "narHash": "sha256-xrpwkilnPpT6TklQVoLrID8tWUZAH4PJ5XqhRHXGbvo=", | 6 | "narHash": "sha256-PQ5694ARRlpj00lk/C/T0UPGhPO+n0TEcLR1mde0s8M=", |
7 | "path": "../environment", | 7 | "path": "../environment", |
8 | "type": "path" | 8 | "type": "path" |
9 | }, | 9 | }, |
diff --git a/flakes/private/environment/flake.nix b/flakes/private/environment/flake.nix index 389a601..c389105 100644 --- a/flakes/private/environment/flake.nix +++ b/flakes/private/environment/flake.nix | |||
@@ -610,6 +610,11 @@ | |||
610 | }; | 610 | }; |
611 | }; | 611 | }; |
612 | }; | 612 | }; |
613 | additional-dkim-domains = mkOption { | ||
614 | description = "Domains not handled by NS allowed to send e-mails"; | ||
615 | type = listOf str; | ||
616 | default = []; | ||
617 | }; | ||
613 | dkim = mkOption { | 618 | dkim = mkOption { |
614 | description = "DKIM configuration"; | 619 | description = "DKIM configuration"; |
615 | type = attrsOf (submodule { | 620 | type = attrsOf (submodule { |
diff --git a/flakes/private/mail-relay/flake.lock b/flakes/private/mail-relay/flake.lock index 4d620ad..965a940 100644 --- a/flakes/private/mail-relay/flake.lock +++ b/flakes/private/mail-relay/flake.lock | |||
@@ -3,7 +3,7 @@ | |||
3 | "environment": { | 3 | "environment": { |
4 | "locked": { | 4 | "locked": { |
5 | "lastModified": 1, | 5 | "lastModified": 1, |
6 | "narHash": "sha256-xrpwkilnPpT6TklQVoLrID8tWUZAH4PJ5XqhRHXGbvo=", | 6 | "narHash": "sha256-PQ5694ARRlpj00lk/C/T0UPGhPO+n0TEcLR1mde0s8M=", |
7 | "path": "../environment", | 7 | "path": "../environment", |
8 | "type": "path" | 8 | "type": "path" |
9 | }, | 9 | }, |
diff --git a/flakes/private/milters/flake.lock b/flakes/private/milters/flake.lock index 6891e49..77427f4 100644 --- a/flakes/private/milters/flake.lock +++ b/flakes/private/milters/flake.lock | |||
@@ -3,7 +3,7 @@ | |||
3 | "environment": { | 3 | "environment": { |
4 | "locked": { | 4 | "locked": { |
5 | "lastModified": 1, | 5 | "lastModified": 1, |
6 | "narHash": "sha256-xrpwkilnPpT6TklQVoLrID8tWUZAH4PJ5XqhRHXGbvo=", | 6 | "narHash": "sha256-PQ5694ARRlpj00lk/C/T0UPGhPO+n0TEcLR1mde0s8M=", |
7 | "path": "../environment", | 7 | "path": "../environment", |
8 | "type": "path" | 8 | "type": "path" |
9 | }, | 9 | }, |
diff --git a/flakes/private/milters/flake.nix b/flakes/private/milters/flake.nix index fc088f9..eefe2b2 100644 --- a/flakes/private/milters/flake.nix +++ b/flakes/private/milters/flake.nix | |||
@@ -57,7 +57,8 @@ | |||
57 | let | 57 | let |
58 | getDomains = p: lib.mapAttrsToList (n: v: v.fqdn) p.emailPolicies; | 58 | getDomains = p: lib.mapAttrsToList (n: v: v.fqdn) p.emailPolicies; |
59 | bydomain = builtins.mapAttrs (n: getDomains) nodes.eldiron.config.myServices.dns.zones; | 59 | bydomain = builtins.mapAttrs (n: getDomains) nodes.eldiron.config.myServices.dns.zones; |
60 | domains' = lib.flatten (builtins.attrValues bydomain); | 60 | domains' = lib.flatten (builtins.attrValues bydomain) |
61 | ++ config.myEnv.mail.additional-dkim-domains; | ||
61 | in | 62 | in |
62 | builtins.concatStringsSep "," domains'; | 63 | builtins.concatStringsSep "," domains'; |
63 | keyPath = config.secrets.fullPaths."opendkim"; | 64 | keyPath = config.secrets.fullPaths."opendkim"; |
diff --git a/flakes/private/monitoring/flake.lock b/flakes/private/monitoring/flake.lock index cdba7c2..eeff363 100644 --- a/flakes/private/monitoring/flake.lock +++ b/flakes/private/monitoring/flake.lock | |||
@@ -3,7 +3,7 @@ | |||
3 | "environment": { | 3 | "environment": { |
4 | "locked": { | 4 | "locked": { |
5 | "lastModified": 1, | 5 | "lastModified": 1, |
6 | "narHash": "sha256-xrpwkilnPpT6TklQVoLrID8tWUZAH4PJ5XqhRHXGbvo=", | 6 | "narHash": "sha256-PQ5694ARRlpj00lk/C/T0UPGhPO+n0TEcLR1mde0s8M=", |
7 | "path": "../environment", | 7 | "path": "../environment", |
8 | "type": "path" | 8 | "type": "path" |
9 | }, | 9 | }, |
diff --git a/flakes/private/opendmarc/flake.lock b/flakes/private/opendmarc/flake.lock index 15fea39..6947cd3 100644 --- a/flakes/private/opendmarc/flake.lock +++ b/flakes/private/opendmarc/flake.lock | |||
@@ -3,7 +3,7 @@ | |||
3 | "environment": { | 3 | "environment": { |
4 | "locked": { | 4 | "locked": { |
5 | "lastModified": 1, | 5 | "lastModified": 1, |
6 | "narHash": "sha256-xrpwkilnPpT6TklQVoLrID8tWUZAH4PJ5XqhRHXGbvo=", | 6 | "narHash": "sha256-PQ5694ARRlpj00lk/C/T0UPGhPO+n0TEcLR1mde0s8M=", |
7 | "path": "../environment", | 7 | "path": "../environment", |
8 | "type": "path" | 8 | "type": "path" |
9 | }, | 9 | }, |
diff --git a/flakes/private/ssh/flake.lock b/flakes/private/ssh/flake.lock index 4d620ad..965a940 100644 --- a/flakes/private/ssh/flake.lock +++ b/flakes/private/ssh/flake.lock | |||
@@ -3,7 +3,7 @@ | |||
3 | "environment": { | 3 | "environment": { |
4 | "locked": { | 4 | "locked": { |
5 | "lastModified": 1, | 5 | "lastModified": 1, |
6 | "narHash": "sha256-xrpwkilnPpT6TklQVoLrID8tWUZAH4PJ5XqhRHXGbvo=", | 6 | "narHash": "sha256-PQ5694ARRlpj00lk/C/T0UPGhPO+n0TEcLR1mde0s8M=", |
7 | "path": "../environment", | 7 | "path": "../environment", |
8 | "type": "path" | 8 | "type": "path" |
9 | }, | 9 | }, |
diff --git a/flakes/private/system/flake.lock b/flakes/private/system/flake.lock index a675105..7754eec 100644 --- a/flakes/private/system/flake.lock +++ b/flakes/private/system/flake.lock | |||
@@ -19,7 +19,7 @@ | |||
19 | "environment": { | 19 | "environment": { |
20 | "locked": { | 20 | "locked": { |
21 | "lastModified": 1, | 21 | "lastModified": 1, |
22 | "narHash": "sha256-xrpwkilnPpT6TklQVoLrID8tWUZAH4PJ5XqhRHXGbvo=", | 22 | "narHash": "sha256-PQ5694ARRlpj00lk/C/T0UPGhPO+n0TEcLR1mde0s8M=", |
23 | "path": "../environment", | 23 | "path": "../environment", |
24 | "type": "path" | 24 | "type": "path" |
25 | }, | 25 | }, |