add bash script for setup

This commit is contained in:
Andreas Zweili 2022-01-25 18:02:41 +01:00
parent 431b65d786
commit 4ec267e6b3
1 changed files with 5 additions and 0 deletions

5
scripts/install_vm.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
cd nixos && nix-shell
sudo python3 scripts/format-disk.py
sudo nixos-install --no-root-passwd --root /mnt --impure --flake .#$1