]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/websites/aten/production.nix
Add backup module
[perso/Immae/Config/Nix.git] / modules / private / websites / aten / production.nix
index 97f4a0822ddd4bbd203a864d37ee5bc3c73fdf28..2ffcef339f6cf4b607aad8ffdaae7f3ae966ec6f 100644 (file)
@@ -8,6 +8,7 @@ in {
   options.myServices.websites.aten.production.enable = lib.mkEnableOption "enable Aten's website in production";
 
   config = lib.mkIf cfg.enable {
+    services.backup.profiles.aten_prod.rootDir = app.varDir;
     services.webstats.sites = [ { name = "aten.pro"; } ];
     services.phpApplication.apps.aten_prod = {
       websiteEnv = "production";