Fix non-posix shells

Signed-off-by: tristan <tristan@gitea@vault81.de>
This commit is contained in:
Tristan D. 2023-12-11 19:45:38 +01:00 committed by Tristan Druyen
parent 3f01ee11b2
commit 46696bdb78
Signed by: tristan
SSH key fingerprint: SHA256:U7y6eMb7CQDaTHv9XoX6/BaQnPqyxxKc+Xnfcefi6rY

View file

@ -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 ''