From 6a8252b11bb02f3e67857d5a9d733b1affa6a625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isma=C3=ABl=20Bouya?= Date: Wed, 16 Oct 2019 13:49:24 +0200 Subject: Add backup module --- modules/private/websites/piedsjaloux/production.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/private/websites/piedsjaloux/production.nix') 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 { options.myServices.websites.piedsjaloux.production.enable = lib.mkEnableOption "enable PiedsJaloux's website in production"; config = lib.mkIf cfg.enable { + services.backup.profiles.piedsjaloux_prod.rootDir = app.varDir; services.webstats.sites = [ { name = "piedsjaloux.fr"; } ]; services.phpApplication.apps.piedsjaloux_prod = { websiteEnv = "production"; -- cgit v1.2.3