try to use nix-shell in shebang

This commit is contained in:
Andreas Zweili 2022-01-25 18:07:08 +01:00
parent 4ec267e6b3
commit 9783d9c4c5
1 changed files with 1 additions and 2 deletions

View File

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