diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-16 17:40:07 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2021-10-16 20:20:45 +0200 |
commit | 4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0 (patch) | |
tree | 9a7ede9ac3f1899074e9ef568a447f883191d3b5 /modules/private/websites/richie | |
parent | da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2 (diff) | |
download | Nix-4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0.tar.gz Nix-4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0.tar.zst Nix-4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0.zip |
Use attrs for secrets instead of lists
Diffstat (limited to 'modules/private/websites/richie')
-rw-r--r-- | modules/private/websites/richie/production.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/private/websites/richie/production.nix b/modules/private/websites/richie/production.nix index 2d85175..3efa9f0 100644 --- a/modules/private/websites/richie/production.nix +++ b/modules/private/websites/richie/production.nix | |||
@@ -29,8 +29,7 @@ in | |||
29 | services.duplyBackup.profiles.richie_production.remotes = ["eriomem" "ovh"]; | 29 | services.duplyBackup.profiles.richie_production.remotes = ["eriomem" "ovh"]; |
30 | services.webstats.sites = [ { name = "europe-richie.org"; } ]; | 30 | services.webstats.sites = [ { name = "europe-richie.org"; } ]; |
31 | 31 | ||
32 | secrets.keys = [{ | 32 | secrets.keys."websites/richie/production" = { |
33 | dest = "websites/richie/production"; | ||
34 | user = apacheUser; | 33 | user = apacheUser; |
35 | group = apacheGroup; | 34 | group = apacheGroup; |
36 | permissions = "0400"; | 35 | permissions = "0400"; |
@@ -48,7 +47,7 @@ in | |||
48 | $smtp_mailer->Auth('${smtp_mailer.user}', '${smtp_mailer.password}'); | 47 | $smtp_mailer->Auth('${smtp_mailer.user}', '${smtp_mailer.password}'); |
49 | ?> | 48 | ?> |
50 | ''; | 49 | ''; |
51 | }]; | 50 | }; |
52 | services.websites.webappDirs.richie_production = richieSrc; | 51 | services.websites.webappDirs.richie_production = richieSrc; |
53 | system.activationScripts.richie_production = { | 52 | system.activationScripts.richie_production = { |
54 | deps = [ "httpd" ]; | 53 | deps = [ "httpd" ]; |