From 46696bdb78bf1c425dab83bbb61a73122e7dc3aa Mon Sep 17 00:00:00 2001 From: tristan Date: Mon, 11 Dec 2023 19:45:38 +0100 Subject: [PATCH] Fix non-posix shells Signed-off-by: tristan --- flake.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/flake.nix b/flake.nix index d8756d1..431b98a 100644 --- a/flake.nix +++ b/flake.nix @@ -31,6 +31,7 @@ nix = "${getExe final.nix}"; nixos-rebuild = "${getExe final.nixos-rebuild}"; openssh = "${getExe final.openssh}"; + bash = "${getExe final.bash}"; flock = "${getExe final.flock}"; n = flake.nixosConfigurations.${machine}._module.args.nixinate; @@ -47,6 +48,7 @@ script = '' + #!${bash} set -e echo "🚀 Deploying nixosConfigurations.${machine} from ${flake}" '' + (if sshConfigHost != "" then ''