From 50fe9f06b608356da068379ed340473781893823 Mon Sep 17 00:00:00 2001 From: Sven Slootweg Date: Sun, 28 Jul 2019 16:53:26 +0200 Subject: [PATCH] Update setup notes --- notes/nixos-setup.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/notes/nixos-setup.txt b/notes/nixos-setup.txt index 98f434a..76c1e84 100644 --- a/notes/nixos-setup.txt +++ b/notes/nixos-setup.txt @@ -1,3 +1,5 @@ +# NOTE: First check that the disk driver is set to virtio! + fdisk /dev/sda o n p +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