aboutsummaryrefslogtreecommitdiff
path: root/modules/private/websites/piedsjaloux/production.nix
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2019-10-16 13:49:24 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2019-10-16 13:49:24 +0200
commit6a8252b11bb02f3e67857d5a9d733b1affa6a625 (patch)
tree175cb91c386b444ce951361baaa4875136d5c9e4 /modules/private/websites/piedsjaloux/production.nix
parent5304a64b84c5a84525c96419cc6126775af306e0 (diff)
downloadNix-6a8252b11bb02f3e67857d5a9d733b1affa6a625.tar.gz
Nix-6a8252b11bb02f3e67857d5a9d733b1affa6a625.tar.zst
Nix-6a8252b11bb02f3e67857d5a9d733b1affa6a625.zip
Add backup module
Diffstat (limited to 'modules/private/websites/piedsjaloux/production.nix')
-rw-r--r--modules/private/websites/piedsjaloux/production.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/private/websites/piedsjaloux/production.nix b/modules/private/websites/piedsjaloux/production.nix
index 9007f19..9e64fca 100644
--- a/modules/private/websites/piedsjaloux/production.nix
+++ b/modules/private/websites/piedsjaloux/production.nix
@@ -8,6 +8,7 @@ in {
8 options.myServices.websites.piedsjaloux.production.enable = lib.mkEnableOption "enable PiedsJaloux's website in production"; 8 options.myServices.websites.piedsjaloux.production.enable = lib.mkEnableOption "enable PiedsJaloux's website in production";
9 9
10 config = lib.mkIf cfg.enable { 10 config = lib.mkIf cfg.enable {
11 services.backup.profiles.piedsjaloux_prod.rootDir = app.varDir;
11 services.webstats.sites = [ { name = "piedsjaloux.fr"; } ]; 12 services.webstats.sites = [ { name = "piedsjaloux.fr"; } ];
12 services.phpApplication.apps.piedsjaloux_prod = { 13 services.phpApplication.apps.piedsjaloux_prod = {
13 websiteEnv = "production"; 14 websiteEnv = "production";