Browse Source

Update setup notes

Sven Slootweg 1 year ago
parent
commit
50fe9f06b6
1 changed files with 5 additions and 1 deletions
  1. 5 1
      notes/nixos-setup.txt

+ 5 - 1
notes/nixos-setup.txt

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