X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FNix.git;a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Frichie%2Fproduction.nix;fp=modules%2Fprivate%2Fwebsites%2Frichie%2Fproduction.nix;h=3efa9f05833eb11d941c7fa1dcce86b5ab936720;hp=2d85175441abbfebff231b0fa6c225d9cc8877db;hb=4c4652aabf2cb3ac8b40f2856eca07a1df9c27e0;hpb=da30ae4ffdd153a1eb32fb86f9ca9a65aa19e4e2 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 services.duplyBackup.profiles.richie_production.remotes = ["eriomem" "ovh"]; services.webstats.sites = [ { name = "europe-richie.org"; } ]; - secrets.keys = [{ - dest = "websites/richie/production"; + secrets.keys."websites/richie/production" = { user = apacheUser; group = apacheGroup; permissions = "0400"; @@ -48,7 +47,7 @@ in $smtp_mailer->Auth('${smtp_mailer.user}', '${smtp_mailer.password}'); ?> ''; - }]; + }; services.websites.webappDirs.richie_production = richieSrc; system.activationScripts.richie_production = { deps = [ "httpd" ];