X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fchloe%2Fintegration.nix;h=273d1fcc3cd25c855b469419a748ba6462c6783a;hb=ab8f306d7c2c49b8116e1af7b355ed2384617ed9;hp=1f7ac3121e7dc84013e8d1bfffe1fcc8bc078ea0;hpb=29f8cb850d74b456d6481a456311bbf5361d328c;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/chloe/integration.nix b/modules/private/websites/chloe/integration.nix index 1f7ac31..273d1fc 100644 --- a/modules/private/websites/chloe/integration.nix +++ b/modules/private/websites/chloe/integration.nix @@ -1,8 +1,8 @@ -{ lib, pkgs, config, myconfig, ... }: +{ lib, pkgs, config, ... }: let chloe = pkgs.callPackage ./builder.nix { inherit (pkgs.webapps) chloe; - config = myconfig.env.websites.chloe.integration; + config = config.myEnv.websites.chloe.integration; apacheUser = config.services.httpd.Inte.user; apacheGroup = config.services.httpd.Inte.group; }; @@ -12,6 +12,7 @@ in { options.myServices.websites.chloe.integration.enable = lib.mkEnableOption "enable Chloe's website in integration"; config = lib.mkIf cfg.enable { + services.duplyBackup.profiles.chloe_dev.rootDir = chloe.app.varDir; secrets.keys = chloe.keys; systemd.services.phpfpm-chloe_dev.after = lib.mkAfter chloe.phpFpm.serviceDeps; systemd.services.phpfpm-chloe_dev.wants = chloe.phpFpm.serviceDeps;