diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-13 00:43:03 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2023-10-13 01:10:06 +0200 |
commit | 1cf1f9162bd4556858a0190eee5bfd7ba0f7bb4c (patch) | |
tree | d260fda130bbafbb868971c381d179a4effd7f2e /systems | |
parent | d006558dead086db86daa9e8fa51e95ad8dc59cf (diff) | |
download | Nix-1cf1f9162bd4556858a0190eee5bfd7ba0f7bb4c.tar.gz Nix-1cf1f9162bd4556858a0190eee5bfd7ba0f7bb4c.tar.zst Nix-1cf1f9162bd4556858a0190eee5bfd7ba0f7bb4c.zip |
Allow imap login using alias e-mails
Diffstat (limited to 'systems')
-rw-r--r-- | systems/backup-2/flake.lock | 26 | ||||
-rw-r--r-- | systems/dilion/flake.lock | 10 | ||||
-rw-r--r-- | systems/eldiron/flake.lock | 26 | ||||
-rw-r--r-- | systems/eldiron/mail/dovecot.nix | 19 | ||||
-rw-r--r-- | systems/monitoring-1/flake.lock | 18 | ||||
-rw-r--r-- | systems/quatresaisons/flake.lock | 10 | ||||
-rw-r--r-- | systems/zoldene/flake.lock | 6 |
7 files changed, 66 insertions, 49 deletions
diff --git a/systems/backup-2/flake.lock b/systems/backup-2/flake.lock index 3ca1baf..83ba265 100644 --- a/systems/backup-2/flake.lock +++ b/systems/backup-2/flake.lock | |||
@@ -22,7 +22,7 @@ | |||
22 | }, | 22 | }, |
23 | "locked": { | 23 | "locked": { |
24 | "lastModified": 1, | 24 | "lastModified": 1, |
25 | "narHash": "sha256-5xTmX1Pq80U/1q27508T1SVJDQXAdmTHGhVyA7lqnPg=", | 25 | "narHash": "sha256-ptLDqa3BTCX2orio9YgGsOwYa5bsz2DWn6TrtR2B45w=", |
26 | "path": "../../flakes/private/chatons", | 26 | "path": "../../flakes/private/chatons", |
27 | "type": "path" | 27 | "type": "path" |
28 | }, | 28 | }, |
@@ -74,7 +74,7 @@ | |||
74 | "environment": { | 74 | "environment": { |
75 | "locked": { | 75 | "locked": { |
76 | "lastModified": 1, | 76 | "lastModified": 1, |
77 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 77 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
78 | "path": "../environment", | 78 | "path": "../environment", |
79 | "type": "path" | 79 | "type": "path" |
80 | }, | 80 | }, |
@@ -86,7 +86,7 @@ | |||
86 | "environment_2": { | 86 | "environment_2": { |
87 | "locked": { | 87 | "locked": { |
88 | "lastModified": 1, | 88 | "lastModified": 1, |
89 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 89 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
90 | "path": "../../flakes/private/environment", | 90 | "path": "../../flakes/private/environment", |
91 | "type": "path" | 91 | "type": "path" |
92 | }, | 92 | }, |
@@ -98,7 +98,7 @@ | |||
98 | "environment_3": { | 98 | "environment_3": { |
99 | "locked": { | 99 | "locked": { |
100 | "lastModified": 1, | 100 | "lastModified": 1, |
101 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 101 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
102 | "path": "../environment", | 102 | "path": "../environment", |
103 | "type": "path" | 103 | "type": "path" |
104 | }, | 104 | }, |
@@ -110,7 +110,7 @@ | |||
110 | "environment_4": { | 110 | "environment_4": { |
111 | "locked": { | 111 | "locked": { |
112 | "lastModified": 1, | 112 | "lastModified": 1, |
113 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 113 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
114 | "path": "../environment", | 114 | "path": "../environment", |
115 | "type": "path" | 115 | "type": "path" |
116 | }, | 116 | }, |
@@ -122,7 +122,7 @@ | |||
122 | "environment_5": { | 122 | "environment_5": { |
123 | "locked": { | 123 | "locked": { |
124 | "lastModified": 1, | 124 | "lastModified": 1, |
125 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 125 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
126 | "path": "../environment", | 126 | "path": "../environment", |
127 | "type": "path" | 127 | "type": "path" |
128 | }, | 128 | }, |
@@ -134,7 +134,7 @@ | |||
134 | "environment_6": { | 134 | "environment_6": { |
135 | "locked": { | 135 | "locked": { |
136 | "lastModified": 1, | 136 | "lastModified": 1, |
137 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 137 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
138 | "path": "../environment", | 138 | "path": "../environment", |
139 | "type": "path" | 139 | "type": "path" |
140 | }, | 140 | }, |
@@ -146,7 +146,7 @@ | |||
146 | "environment_7": { | 146 | "environment_7": { |
147 | "locked": { | 147 | "locked": { |
148 | "lastModified": 1, | 148 | "lastModified": 1, |
149 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 149 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
150 | "path": "../environment", | 150 | "path": "../environment", |
151 | "type": "path" | 151 | "type": "path" |
152 | }, | 152 | }, |
@@ -352,7 +352,7 @@ | |||
352 | }, | 352 | }, |
353 | "locked": { | 353 | "locked": { |
354 | "lastModified": 1, | 354 | "lastModified": 1, |
355 | "narHash": "sha256-TYEdgBGt7mWEBdXMmuc+lmgRpsOJUlW55Y1atGlcpvU=", | 355 | "narHash": "sha256-1sEwMNWSytfyn4Rh5gUJACwCNgaTLdMDkO9hEr5OB7M=", |
356 | "path": "../../flakes/private/mail-relay", | 356 | "path": "../../flakes/private/mail-relay", |
357 | "type": "path" | 357 | "type": "path" |
358 | }, | 358 | }, |
@@ -371,7 +371,7 @@ | |||
371 | }, | 371 | }, |
372 | "locked": { | 372 | "locked": { |
373 | "lastModified": 1, | 373 | "lastModified": 1, |
374 | "narHash": "sha256-Q8RIW88dtLmxFy8ziw49PhWjU70fKJ8gO9SjdRr2ySw=", | 374 | "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=", |
375 | "path": "../../flakes/private/milters", | 375 | "path": "../../flakes/private/milters", |
376 | "type": "path" | 376 | "type": "path" |
377 | }, | 377 | }, |
@@ -389,7 +389,7 @@ | |||
389 | }, | 389 | }, |
390 | "locked": { | 390 | "locked": { |
391 | "lastModified": 1, | 391 | "lastModified": 1, |
392 | "narHash": "sha256-DN3hgnw6hXCrSGXep4mumwksWSggsuyyaKXuKvswXl8=", | 392 | "narHash": "sha256-OFfV6XJcWqdRCBlRKMFmlGyBQPKmsjNfIQPLZn2R/e4=", |
393 | "path": "../../flakes/private/monitoring", | 393 | "path": "../../flakes/private/monitoring", |
394 | "type": "path" | 394 | "type": "path" |
395 | }, | 395 | }, |
@@ -925,7 +925,7 @@ | |||
925 | }, | 925 | }, |
926 | "locked": { | 926 | "locked": { |
927 | "lastModified": 1, | 927 | "lastModified": 1, |
928 | "narHash": "sha256-C75rGGf2EOkXc04RkzpTkyWOGF3GMZElDyvLSa4MsiI=", | 928 | "narHash": "sha256-/vQ6FGFc53r79yiQrzF0NWTbRd4RKf8QiPSDhmiCciU=", |
929 | "path": "../../flakes/private/opendmarc", | 929 | "path": "../../flakes/private/opendmarc", |
930 | "type": "path" | 930 | "type": "path" |
931 | }, | 931 | }, |
@@ -1104,7 +1104,7 @@ | |||
1104 | }, | 1104 | }, |
1105 | "locked": { | 1105 | "locked": { |
1106 | "lastModified": 1, | 1106 | "lastModified": 1, |
1107 | "narHash": "sha256-V/T6CB1328uHUHNof3OFeqrDH8C73Dw8hVhpVvjq684=", | 1107 | "narHash": "sha256-CCtWODUiUD8w0+GpDyFGCEgsKWukd26pUcwdACGZGTA=", |
1108 | "path": "../../flakes/private/system", | 1108 | "path": "../../flakes/private/system", |
1109 | "type": "path" | 1109 | "type": "path" |
1110 | }, | 1110 | }, |
diff --git a/systems/dilion/flake.lock b/systems/dilion/flake.lock index bd3cdd9..f15331b 100644 --- a/systems/dilion/flake.lock +++ b/systems/dilion/flake.lock | |||
@@ -59,7 +59,7 @@ | |||
59 | "environment": { | 59 | "environment": { |
60 | "locked": { | 60 | "locked": { |
61 | "lastModified": 1, | 61 | "lastModified": 1, |
62 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 62 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
63 | "path": "../../flakes/private/environment", | 63 | "path": "../../flakes/private/environment", |
64 | "type": "path" | 64 | "type": "path" |
65 | }, | 65 | }, |
@@ -71,7 +71,7 @@ | |||
71 | "environment_2": { | 71 | "environment_2": { |
72 | "locked": { | 72 | "locked": { |
73 | "lastModified": 1, | 73 | "lastModified": 1, |
74 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 74 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
75 | "path": "../environment", | 75 | "path": "../environment", |
76 | "type": "path" | 76 | "type": "path" |
77 | }, | 77 | }, |
@@ -83,7 +83,7 @@ | |||
83 | "environment_3": { | 83 | "environment_3": { |
84 | "locked": { | 84 | "locked": { |
85 | "lastModified": 1, | 85 | "lastModified": 1, |
86 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 86 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
87 | "path": "../environment", | 87 | "path": "../environment", |
88 | "type": "path" | 88 | "type": "path" |
89 | }, | 89 | }, |
@@ -207,7 +207,7 @@ | |||
207 | }, | 207 | }, |
208 | "locked": { | 208 | "locked": { |
209 | "lastModified": 1, | 209 | "lastModified": 1, |
210 | "narHash": "sha256-DN3hgnw6hXCrSGXep4mumwksWSggsuyyaKXuKvswXl8=", | 210 | "narHash": "sha256-OFfV6XJcWqdRCBlRKMFmlGyBQPKmsjNfIQPLZn2R/e4=", |
211 | "path": "../../flakes/private/monitoring", | 211 | "path": "../../flakes/private/monitoring", |
212 | "type": "path" | 212 | "type": "path" |
213 | }, | 213 | }, |
@@ -599,7 +599,7 @@ | |||
599 | }, | 599 | }, |
600 | "locked": { | 600 | "locked": { |
601 | "lastModified": 1, | 601 | "lastModified": 1, |
602 | "narHash": "sha256-V/T6CB1328uHUHNof3OFeqrDH8C73Dw8hVhpVvjq684=", | 602 | "narHash": "sha256-CCtWODUiUD8w0+GpDyFGCEgsKWukd26pUcwdACGZGTA=", |
603 | "path": "../../flakes/private/system", | 603 | "path": "../../flakes/private/system", |
604 | "type": "path" | 604 | "type": "path" |
605 | }, | 605 | }, |
diff --git a/systems/eldiron/flake.lock b/systems/eldiron/flake.lock index 5a60dab..3291993 100644 --- a/systems/eldiron/flake.lock +++ b/systems/eldiron/flake.lock | |||
@@ -129,7 +129,7 @@ | |||
129 | "environment": { | 129 | "environment": { |
130 | "locked": { | 130 | "locked": { |
131 | "lastModified": 1, | 131 | "lastModified": 1, |
132 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 132 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
133 | "path": "../environment", | 133 | "path": "../environment", |
134 | "type": "path" | 134 | "type": "path" |
135 | }, | 135 | }, |
@@ -141,7 +141,7 @@ | |||
141 | "environment_2": { | 141 | "environment_2": { |
142 | "locked": { | 142 | "locked": { |
143 | "lastModified": 1, | 143 | "lastModified": 1, |
144 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 144 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
145 | "path": "../environment", | 145 | "path": "../environment", |
146 | "type": "path" | 146 | "type": "path" |
147 | }, | 147 | }, |
@@ -153,7 +153,7 @@ | |||
153 | "environment_3": { | 153 | "environment_3": { |
154 | "locked": { | 154 | "locked": { |
155 | "lastModified": 1, | 155 | "lastModified": 1, |
156 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 156 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
157 | "path": "../environment", | 157 | "path": "../environment", |
158 | "type": "path" | 158 | "type": "path" |
159 | }, | 159 | }, |
@@ -165,7 +165,7 @@ | |||
165 | "environment_4": { | 165 | "environment_4": { |
166 | "locked": { | 166 | "locked": { |
167 | "lastModified": 1, | 167 | "lastModified": 1, |
168 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 168 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
169 | "path": "../environment", | 169 | "path": "../environment", |
170 | "type": "path" | 170 | "type": "path" |
171 | }, | 171 | }, |
@@ -177,7 +177,7 @@ | |||
177 | "environment_5": { | 177 | "environment_5": { |
178 | "locked": { | 178 | "locked": { |
179 | "lastModified": 1, | 179 | "lastModified": 1, |
180 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 180 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
181 | "path": "../environment", | 181 | "path": "../environment", |
182 | "type": "path" | 182 | "type": "path" |
183 | }, | 183 | }, |
@@ -189,7 +189,7 @@ | |||
189 | "environment_6": { | 189 | "environment_6": { |
190 | "locked": { | 190 | "locked": { |
191 | "lastModified": 1, | 191 | "lastModified": 1, |
192 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 192 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
193 | "path": "../environment", | 193 | "path": "../environment", |
194 | "type": "path" | 194 | "type": "path" |
195 | }, | 195 | }, |
@@ -1989,7 +1989,7 @@ | |||
1989 | }, | 1989 | }, |
1990 | "locked": { | 1990 | "locked": { |
1991 | "lastModified": 1, | 1991 | "lastModified": 1, |
1992 | "narHash": "sha256-5xTmX1Pq80U/1q27508T1SVJDQXAdmTHGhVyA7lqnPg=", | 1992 | "narHash": "sha256-ptLDqa3BTCX2orio9YgGsOwYa5bsz2DWn6TrtR2B45w=", |
1993 | "path": "../../flakes/private/chatons", | 1993 | "path": "../../flakes/private/chatons", |
1994 | "type": "path" | 1994 | "type": "path" |
1995 | }, | 1995 | }, |
@@ -2001,7 +2001,7 @@ | |||
2001 | "private-environment": { | 2001 | "private-environment": { |
2002 | "locked": { | 2002 | "locked": { |
2003 | "lastModified": 1, | 2003 | "lastModified": 1, |
2004 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 2004 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
2005 | "path": "../../flakes/private/environment", | 2005 | "path": "../../flakes/private/environment", |
2006 | "type": "path" | 2006 | "type": "path" |
2007 | }, | 2007 | }, |
@@ -2020,7 +2020,7 @@ | |||
2020 | }, | 2020 | }, |
2021 | "locked": { | 2021 | "locked": { |
2022 | "lastModified": 1, | 2022 | "lastModified": 1, |
2023 | "narHash": "sha256-Q8RIW88dtLmxFy8ziw49PhWjU70fKJ8gO9SjdRr2ySw=", | 2023 | "narHash": "sha256-x6nZbsijTyyeFsCiOHIXTPVsEGaGle3a1QDWsxlp51I=", |
2024 | "path": "../../flakes/private/milters", | 2024 | "path": "../../flakes/private/milters", |
2025 | "type": "path" | 2025 | "type": "path" |
2026 | }, | 2026 | }, |
@@ -2038,7 +2038,7 @@ | |||
2038 | }, | 2038 | }, |
2039 | "locked": { | 2039 | "locked": { |
2040 | "lastModified": 1, | 2040 | "lastModified": 1, |
2041 | "narHash": "sha256-DN3hgnw6hXCrSGXep4mumwksWSggsuyyaKXuKvswXl8=", | 2041 | "narHash": "sha256-OFfV6XJcWqdRCBlRKMFmlGyBQPKmsjNfIQPLZn2R/e4=", |
2042 | "path": "../../flakes/private/monitoring", | 2042 | "path": "../../flakes/private/monitoring", |
2043 | "type": "path" | 2043 | "type": "path" |
2044 | }, | 2044 | }, |
@@ -2073,7 +2073,7 @@ | |||
2073 | }, | 2073 | }, |
2074 | "locked": { | 2074 | "locked": { |
2075 | "lastModified": 1, | 2075 | "lastModified": 1, |
2076 | "narHash": "sha256-C75rGGf2EOkXc04RkzpTkyWOGF3GMZElDyvLSa4MsiI=", | 2076 | "narHash": "sha256-/vQ6FGFc53r79yiQrzF0NWTbRd4RKf8QiPSDhmiCciU=", |
2077 | "path": "../../flakes/private/opendmarc", | 2077 | "path": "../../flakes/private/opendmarc", |
2078 | "type": "path" | 2078 | "type": "path" |
2079 | }, | 2079 | }, |
@@ -2134,7 +2134,7 @@ | |||
2134 | }, | 2134 | }, |
2135 | "locked": { | 2135 | "locked": { |
2136 | "lastModified": 1, | 2136 | "lastModified": 1, |
2137 | "narHash": "sha256-NufDaV9j3eKqlJNs09lqytKDTuwjh4Wh78mOEyID05w=", | 2137 | "narHash": "sha256-gjapO6CZFeLMHUlhqBVZu5P+IJzJaPu4pnuTep4ZSuM=", |
2138 | "path": "../../flakes/private/ssh", | 2138 | "path": "../../flakes/private/ssh", |
2139 | "type": "path" | 2139 | "type": "path" |
2140 | }, | 2140 | }, |
@@ -2153,7 +2153,7 @@ | |||
2153 | }, | 2153 | }, |
2154 | "locked": { | 2154 | "locked": { |
2155 | "lastModified": 1, | 2155 | "lastModified": 1, |
2156 | "narHash": "sha256-V/T6CB1328uHUHNof3OFeqrDH8C73Dw8hVhpVvjq684=", | 2156 | "narHash": "sha256-CCtWODUiUD8w0+GpDyFGCEgsKWukd26pUcwdACGZGTA=", |
2157 | "path": "../../flakes/private/system", | 2157 | "path": "../../flakes/private/system", |
2158 | "type": "path" | 2158 | "type": "path" |
2159 | }, | 2159 | }, |
diff --git a/systems/eldiron/mail/dovecot.nix b/systems/eldiron/mail/dovecot.nix index a1282e3..9c9cd7c 100644 --- a/systems/eldiron/mail/dovecot.nix +++ b/systems/eldiron/mail/dovecot.nix | |||
@@ -44,6 +44,19 @@ in | |||
44 | }; | 44 | }; |
45 | }; | 45 | }; |
46 | systemd.services.dovecot2.serviceConfig.Slice = "mail.slice"; | 46 | systemd.services.dovecot2.serviceConfig.Slice = "mail.slice"; |
47 | secrets.keys."dovecot/sql" = { | ||
48 | user = config.services.dovecot2.user; | ||
49 | group = config.services.dovecot2.group; | ||
50 | permissions = "0400"; | ||
51 | text = '' | ||
52 | driver = mysql | ||
53 | connect = host=${config.myEnv.mail.dovecot.mysql.socket} dbname=${config.myEnv.mail.dovecot.mysql.database} user=${config.myEnv.mail.dovecot.mysql.user} password=${config.myEnv.mail.dovecot.mysql.password} | ||
54 | password_query = SELECT NULL AS password, 'Y' as noauthenticate, destination AS user \ | ||
55 | FROM forwardings WHERE \ | ||
56 | ((regex = 1 AND '%u' REGEXP CONCAT('^',source,'$')) OR (regex = 0 AND source = '%u')) \ | ||
57 | AND active = 1 | ||
58 | ''; | ||
59 | }; | ||
47 | secrets.keys."dovecot/ldap" = { | 60 | secrets.keys."dovecot/ldap" = { |
48 | user = config.services.dovecot2.user; | 61 | user = config.services.dovecot2.user; |
49 | group = config.services.dovecot2.group; | 62 | group = config.services.dovecot2.group; |
@@ -81,7 +94,7 @@ in | |||
81 | 94 | ||
82 | nixpkgs.overlays = [ | 95 | nixpkgs.overlays = [ |
83 | (self: super: { | 96 | (self: super: { |
84 | dovecot = super.dovecot.override { openldap = self.openldap_libressl_cyrus; }; | 97 | dovecot = super.dovecot.override { withMySQL = true; openldap = self.openldap_libressl_cyrus; }; |
85 | }) | 98 | }) |
86 | ]; | 99 | ]; |
87 | 100 | ||
@@ -238,6 +251,10 @@ in | |||
238 | first_valid_uid = ${toString config.ids.uids.vhost} | 251 | first_valid_uid = ${toString config.ids.uids.vhost} |
239 | disable_plaintext_auth = yes | 252 | disable_plaintext_auth = yes |
240 | passdb { | 253 | passdb { |
254 | driver = sql | ||
255 | args = ${config.secrets.fullPaths."dovecot/sql"} | ||
256 | } | ||
257 | passdb { | ||
241 | driver = ldap | 258 | driver = ldap |
242 | args = ${config.secrets.fullPaths."dovecot/ldap"} | 259 | args = ${config.secrets.fullPaths."dovecot/ldap"} |
243 | } | 260 | } |
diff --git a/systems/monitoring-1/flake.lock b/systems/monitoring-1/flake.lock index ec29221..6c46061 100644 --- a/systems/monitoring-1/flake.lock +++ b/systems/monitoring-1/flake.lock | |||
@@ -22,7 +22,7 @@ | |||
22 | }, | 22 | }, |
23 | "locked": { | 23 | "locked": { |
24 | "lastModified": 1, | 24 | "lastModified": 1, |
25 | "narHash": "sha256-5xTmX1Pq80U/1q27508T1SVJDQXAdmTHGhVyA7lqnPg=", | 25 | "narHash": "sha256-ptLDqa3BTCX2orio9YgGsOwYa5bsz2DWn6TrtR2B45w=", |
26 | "path": "../../flakes/private/chatons", | 26 | "path": "../../flakes/private/chatons", |
27 | "type": "path" | 27 | "type": "path" |
28 | }, | 28 | }, |
@@ -74,7 +74,7 @@ | |||
74 | "environment": { | 74 | "environment": { |
75 | "locked": { | 75 | "locked": { |
76 | "lastModified": 1, | 76 | "lastModified": 1, |
77 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 77 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
78 | "path": "../environment", | 78 | "path": "../environment", |
79 | "type": "path" | 79 | "type": "path" |
80 | }, | 80 | }, |
@@ -86,7 +86,7 @@ | |||
86 | "environment_2": { | 86 | "environment_2": { |
87 | "locked": { | 87 | "locked": { |
88 | "lastModified": 1, | 88 | "lastModified": 1, |
89 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 89 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
90 | "path": "../../flakes/private/environment", | 90 | "path": "../../flakes/private/environment", |
91 | "type": "path" | 91 | "type": "path" |
92 | }, | 92 | }, |
@@ -98,7 +98,7 @@ | |||
98 | "environment_3": { | 98 | "environment_3": { |
99 | "locked": { | 99 | "locked": { |
100 | "lastModified": 1, | 100 | "lastModified": 1, |
101 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 101 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
102 | "path": "../environment", | 102 | "path": "../environment", |
103 | "type": "path" | 103 | "type": "path" |
104 | }, | 104 | }, |
@@ -110,7 +110,7 @@ | |||
110 | "environment_4": { | 110 | "environment_4": { |
111 | "locked": { | 111 | "locked": { |
112 | "lastModified": 1, | 112 | "lastModified": 1, |
113 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 113 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
114 | "path": "../environment", | 114 | "path": "../environment", |
115 | "type": "path" | 115 | "type": "path" |
116 | }, | 116 | }, |
@@ -122,7 +122,7 @@ | |||
122 | "environment_5": { | 122 | "environment_5": { |
123 | "locked": { | 123 | "locked": { |
124 | "lastModified": 1, | 124 | "lastModified": 1, |
125 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 125 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
126 | "path": "../environment", | 126 | "path": "../environment", |
127 | "type": "path" | 127 | "type": "path" |
128 | }, | 128 | }, |
@@ -259,7 +259,7 @@ | |||
259 | }, | 259 | }, |
260 | "locked": { | 260 | "locked": { |
261 | "lastModified": 1, | 261 | "lastModified": 1, |
262 | "narHash": "sha256-TYEdgBGt7mWEBdXMmuc+lmgRpsOJUlW55Y1atGlcpvU=", | 262 | "narHash": "sha256-1sEwMNWSytfyn4Rh5gUJACwCNgaTLdMDkO9hEr5OB7M=", |
263 | "path": "../../flakes/private/mail-relay", | 263 | "path": "../../flakes/private/mail-relay", |
264 | "type": "path" | 264 | "type": "path" |
265 | }, | 265 | }, |
@@ -277,7 +277,7 @@ | |||
277 | }, | 277 | }, |
278 | "locked": { | 278 | "locked": { |
279 | "lastModified": 1, | 279 | "lastModified": 1, |
280 | "narHash": "sha256-DN3hgnw6hXCrSGXep4mumwksWSggsuyyaKXuKvswXl8=", | 280 | "narHash": "sha256-OFfV6XJcWqdRCBlRKMFmlGyBQPKmsjNfIQPLZn2R/e4=", |
281 | "path": "../../flakes/private/monitoring", | 281 | "path": "../../flakes/private/monitoring", |
282 | "type": "path" | 282 | "type": "path" |
283 | }, | 283 | }, |
@@ -735,7 +735,7 @@ | |||
735 | }, | 735 | }, |
736 | "locked": { | 736 | "locked": { |
737 | "lastModified": 1, | 737 | "lastModified": 1, |
738 | "narHash": "sha256-V/T6CB1328uHUHNof3OFeqrDH8C73Dw8hVhpVvjq684=", | 738 | "narHash": "sha256-CCtWODUiUD8w0+GpDyFGCEgsKWukd26pUcwdACGZGTA=", |
739 | "path": "../../flakes/private/system", | 739 | "path": "../../flakes/private/system", |
740 | "type": "path" | 740 | "type": "path" |
741 | }, | 741 | }, |
diff --git a/systems/quatresaisons/flake.lock b/systems/quatresaisons/flake.lock index e23bbde..449e255 100644 --- a/systems/quatresaisons/flake.lock +++ b/systems/quatresaisons/flake.lock | |||
@@ -59,7 +59,7 @@ | |||
59 | "environment": { | 59 | "environment": { |
60 | "locked": { | 60 | "locked": { |
61 | "lastModified": 1, | 61 | "lastModified": 1, |
62 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 62 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
63 | "path": "../../flakes/private/environment", | 63 | "path": "../../flakes/private/environment", |
64 | "type": "path" | 64 | "type": "path" |
65 | }, | 65 | }, |
@@ -71,7 +71,7 @@ | |||
71 | "environment_2": { | 71 | "environment_2": { |
72 | "locked": { | 72 | "locked": { |
73 | "lastModified": 1, | 73 | "lastModified": 1, |
74 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 74 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
75 | "path": "../environment", | 75 | "path": "../environment", |
76 | "type": "path" | 76 | "type": "path" |
77 | }, | 77 | }, |
@@ -83,7 +83,7 @@ | |||
83 | "environment_3": { | 83 | "environment_3": { |
84 | "locked": { | 84 | "locked": { |
85 | "lastModified": 1, | 85 | "lastModified": 1, |
86 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 86 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
87 | "path": "../environment", | 87 | "path": "../environment", |
88 | "type": "path" | 88 | "type": "path" |
89 | }, | 89 | }, |
@@ -239,7 +239,7 @@ | |||
239 | }, | 239 | }, |
240 | "locked": { | 240 | "locked": { |
241 | "lastModified": 1, | 241 | "lastModified": 1, |
242 | "narHash": "sha256-DN3hgnw6hXCrSGXep4mumwksWSggsuyyaKXuKvswXl8=", | 242 | "narHash": "sha256-OFfV6XJcWqdRCBlRKMFmlGyBQPKmsjNfIQPLZn2R/e4=", |
243 | "path": "../../flakes/private/monitoring", | 243 | "path": "../../flakes/private/monitoring", |
244 | "type": "path" | 244 | "type": "path" |
245 | }, | 245 | }, |
@@ -712,7 +712,7 @@ | |||
712 | }, | 712 | }, |
713 | "locked": { | 713 | "locked": { |
714 | "lastModified": 1, | 714 | "lastModified": 1, |
715 | "narHash": "sha256-V/T6CB1328uHUHNof3OFeqrDH8C73Dw8hVhpVvjq684=", | 715 | "narHash": "sha256-CCtWODUiUD8w0+GpDyFGCEgsKWukd26pUcwdACGZGTA=", |
716 | "path": "../../flakes/private/system", | 716 | "path": "../../flakes/private/system", |
717 | "type": "path" | 717 | "type": "path" |
718 | }, | 718 | }, |
diff --git a/systems/zoldene/flake.lock b/systems/zoldene/flake.lock index 6a88e80..e275833 100644 --- a/systems/zoldene/flake.lock +++ b/systems/zoldene/flake.lock | |||
@@ -59,7 +59,7 @@ | |||
59 | "environment": { | 59 | "environment": { |
60 | "locked": { | 60 | "locked": { |
61 | "lastModified": 1, | 61 | "lastModified": 1, |
62 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 62 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
63 | "path": "../environment", | 63 | "path": "../environment", |
64 | "type": "path" | 64 | "type": "path" |
65 | }, | 65 | }, |
@@ -436,7 +436,7 @@ | |||
436 | "private-environment": { | 436 | "private-environment": { |
437 | "locked": { | 437 | "locked": { |
438 | "lastModified": 1, | 438 | "lastModified": 1, |
439 | "narHash": "sha256-iW4Q8C1AR4i+Vm7KSaYUtXwTpVHCK0niGiZWnYboAtY=", | 439 | "narHash": "sha256-VO82m/95IcX3xxJ63wcLh3hXzXDRFKUohYil/18pBSY=", |
440 | "path": "../../flakes/private/environment", | 440 | "path": "../../flakes/private/environment", |
441 | "type": "path" | 441 | "type": "path" |
442 | }, | 442 | }, |
@@ -455,7 +455,7 @@ | |||
455 | }, | 455 | }, |
456 | "locked": { | 456 | "locked": { |
457 | "lastModified": 1, | 457 | "lastModified": 1, |
458 | "narHash": "sha256-V/T6CB1328uHUHNof3OFeqrDH8C73Dw8hVhpVvjq684=", | 458 | "narHash": "sha256-CCtWODUiUD8w0+GpDyFGCEgsKWukd26pUcwdACGZGTA=", |
459 | "path": "../../flakes/private/system", | 459 | "path": "../../flakes/private/system", |
460 | "type": "path" | 460 | "type": "path" |
461 | }, | 461 | }, |