aboutsummaryrefslogtreecommitdiff
path: root/nixops/modules/websites/default.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-25 09:26:26 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-04-25 09:26:26 +0200
commit8db8e666707a0e51af9353c76c5863e1a5482ed5 (patch)
tree64bfdc2cb62f84250955424ad202fc875d4ddbc4 /nixops/modules/websites/default.nix
parent32c84ff89c2b8931f58cea63961a178a9b1d0efe (diff)
downloadNix-8db8e666707a0e51af9353c76c5863e1a5482ed5.tar.gz
Nix-8db8e666707a0e51af9353c76c5863e1a5482ed5.tar.zst
Nix-8db8e666707a0e51af9353c76c5863e1a5482ed5.zip
Move tools to new secrets location
Diffstat (limited to 'nixops/modules/websites/default.nix')
-rw-r--r--nixops/modules/websites/default.nix7
1 files changed, 4 insertions, 3 deletions
diff --git a/nixops/modules/websites/default.nix b/nixops/modules/websites/default.nix
index 927243b..b0bc7a4 100644
--- a/nixops/modules/websites/default.nix
+++ b/nixops/modules/websites/default.nix
@@ -229,7 +229,8 @@ in
229 services.myWebsites.TellesFlorian.integration.enable = true; 229 services.myWebsites.TellesFlorian.integration.enable = true;
230 services.myWebsites.Florian.integration.enable = true; 230 services.myWebsites.Florian.integration.enable = true;
231 231
232 deployment.keys.apache-ldap = { 232 mySecrets.keys = [{
233 dest = "apache-ldap";
233 user = "wwwrun"; 234 user = "wwwrun";
234 group = "wwwrun"; 235 group = "wwwrun";
235 permissions = "0400"; 236 permissions = "0400";
@@ -245,7 +246,7 @@ in
245 </IfModule> 246 </IfModule>
246 </Macro> 247 </Macro>
247 ''; 248 '';
248 }; 249 }];
249 250
250 services.myWebsites.apacheConfig = { 251 services.myWebsites.apacheConfig = {
251 gzip = { 252 gzip = {
@@ -284,7 +285,7 @@ in
284 LDAPOpCacheTTL 600 285 LDAPOpCacheTTL 600
285 </IfModule> 286 </IfModule>
286 287
287 Include /run/keys/apache-ldap 288 Include /var/secrets/apache-ldap
288 ''; 289 '';
289 }; 290 };
290 global = { 291 global = {