Fix non-posix shells
Signed-off-by: tristan <tristan@gitea@vault81.de>
This commit is contained in:
parent
3f01ee11b2
commit
46696bdb78
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,7 @@
|
||||||
nix = "${getExe final.nix}";
|
nix = "${getExe final.nix}";
|
||||||
nixos-rebuild = "${getExe final.nixos-rebuild}";
|
nixos-rebuild = "${getExe final.nixos-rebuild}";
|
||||||
openssh = "${getExe final.openssh}";
|
openssh = "${getExe final.openssh}";
|
||||||
|
bash = "${getExe final.bash}";
|
||||||
flock = "${getExe final.flock}";
|
flock = "${getExe final.flock}";
|
||||||
|
|
||||||
n = flake.nixosConfigurations.${machine}._module.args.nixinate;
|
n = flake.nixosConfigurations.${machine}._module.args.nixinate;
|
||||||
|
@ -47,6 +48,7 @@
|
||||||
|
|
||||||
script =
|
script =
|
||||||
''
|
''
|
||||||
|
#!${bash}
|
||||||
set -e
|
set -e
|
||||||
echo "🚀 Deploying nixosConfigurations.${machine} from ${flake}"
|
echo "🚀 Deploying nixosConfigurations.${machine} from ${flake}"
|
||||||
'' + (if sshConfigHost != "" then ''
|
'' + (if sshConfigHost != "" then ''
|
||||||
|
|
Loading…
Add table
Reference in a new issue