|
|
@ -1,3 +1,5 @@ |
|
|
|
# NOTE: First check that the disk driver is set to virtio! |
|
|
|
|
|
|
|
fdisk /dev/sda |
|
|
|
o |
|
|
|
n p <enter> <enter> +1G |
|
|
@ -28,7 +30,9 @@ mount /dev/sda1 /mnt/boot |
|
|
|
|
|
|
|
# NixOS installation |
|
|
|
nixos-generate-config --root /mnt |
|
|
|
wget -O /mnt/etc/nixos/configuration.nix https://git.cryto.net/joepie91/morph-rc/raw/master/data/dummy-configuration.nix |
|
|
|
curl https://git.cryto.net/joepie91/morph-rc/raw/master/data/dummy-configuration.nix > /mnt/etc/nixos/configuration.nix |
|
|
|
# NOTE: Potentially update configuration.nix at this point if the primary disk is not /dev/sda! |
|
|
|
|
|
|
|
nixos-install |
|
|
|
|
|
|
|
# NOTE: Don't forget to set a better root password over SSH after restarting |
|
|
|