try to use nix-shell in shebang
This commit is contained in:
parent
4ec267e6b3
commit
9783d9c4c5
|
@ -1,5 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
#!/usr/bin/env nix-shell
|
||||
|
||||
cd nixos && nix-shell
|
||||
sudo python3 scripts/format-disk.py
|
||||
sudo nixos-install --no-root-passwd --root /mnt --impure --flake .#$1
|
||||
|
|
Loading…
Reference in New Issue