X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=modules%2Fprivate%2Fwebsites%2Fnaturaloutil%2Fproduction.nix;h=1e79141d1c5aa0268db1f373e6167ccbdeb5217e;hb=5400b9b6f65451d41a9106fae6fc00f97d83f4ef;hp=93940d5efc2a35d5921a38ff9e7c8424ce989537;hpb=29f8cb850d74b456d6481a456311bbf5361d328c;p=perso%2FImmae%2FConfig%2FNix.git diff --git a/modules/private/websites/naturaloutil/production.nix b/modules/private/websites/naturaloutil/production.nix index 93940d5..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"