diff options
Diffstat (limited to 'lass')
-rw-r--r-- | lass/2configs/websites/util.nix | 1 | ||||
-rw-r--r-- | lass/krops.nix | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lass/2configs/websites/util.nix b/lass/2configs/websites/util.nix index bffa1036b..b6765037c 100644 --- a/lass/2configs/websites/util.nix +++ b/lass/2configs/websites/util.nix @@ -227,6 +227,7 @@ rec { services.phpfpm.pools."${domain}" = { user = "nginx"; group = "nginx"; + phpPackage = pkgs.php74; extraConfig = '' listen = /srv/http/${domain}/phpfpm.pool pm = dynamic diff --git a/lass/krops.nix b/lass/krops.nix index 769112706..4abd010e1 100644 --- a/lass/krops.nix +++ b/lass/krops.nix @@ -46,7 +46,9 @@ in { -f '<nixpkgs/nixos>' config.system.build.toplevel \ -o "$outDir/out" - $outDir/out/bin/switch-to-configuration switch + nix-env -p /nix/var/nix/profiles/system --set "$outDir/out" + + "$outDir/out/bin/switch-to-configuration" switch ''; source = source { test = false; }; allocateTTY = true; |