X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fnaturaloutil%2Fproduction.nix;h=1e79141d1c5aa0268db1f373e6167ccbdeb5217e;hb=5400b9b6f65451d41a9106fae6fc00f97d83f4ef;hp=f59957da12814c848bb2b1ef26ea0c5009e30d30;hpb=4288c2f2431fb782b0d512b1b3749187f2374b6a;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/naturaloutil/production.nix b/modules/private/websites/naturaloutil/production.nix index f59957d..1e79141 100644 --- a/modules/private/websites/naturaloutil/production.nix +++ b/modules/private/websites/naturaloutil/production.nix @@ -1,9 +1,9 @@ -{ lib, pkgs, config, myconfig, ... }: +{ lib, pkgs, config, ... }: let - adminer = pkgs.callPackage ../commons/adminer.nix {}; + adminer = pkgs.callPackage ../commons/adminer.nix { inherit config; }; cfg = config.myServices.websites.naturaloutil.production; varDir = "/var/lib/ftp/jerome"; - env = myconfig.env.websites.jerome; + env = config.myEnv.websites.jerome; in { options.myServices.websites.naturaloutil.production.enable = lib.mkEnableOption "enable Naturaloutil's website"; @@ -21,7 +21,7 @@ in { - SetHandler "proxy:unix:/run/phpfpm/naturaloutil.sock|fcgi://localhost" + SetHandler "proxy:unix:${config.services.phpfpm.pools.jerome.socket}|fcgi://localhost"