|
|
@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
# NOTE: First check that the disk driver is set to virtio!
|
|
|
|
|
|
|
|
|
|
|
|
fdisk /dev/sda
|
|
|
|
fdisk /dev/sda
|
|
|
|
o
|
|
|
|
o
|
|
|
|
n p <enter> <enter> +1G
|
|
|
|
n p <enter> <enter> +1G
|
|
|
@ -28,7 +30,9 @@ mount /dev/sda1 /mnt/boot
|
|
|
|
|
|
|
|
|
|
|
|
# NixOS installation
|
|
|
|
# NixOS installation
|
|
|
|
nixos-generate-config --root /mnt
|
|
|
|
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!
|
|
|
|
# NOTE: Potentially update configuration.nix at this point if the primary disk is not /dev/sda!
|
|
|
|
|
|
|
|
|
|
|
|
nixos-install
|
|
|
|
nixos-install
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# NOTE: Don't forget to set a better root password over SSH after restarting
|
|
|
|