diff --git a/README.md b/README.md index dae3a856..10536d69 100644 --- a/README.md +++ b/README.md @@ -266,9 +266,9 @@ When adding new disks the paths under ``/dev/disk/by-id/`` should be used, so th - Boot live ISO - Set a password for the NixOS user - `rsync` the this directory into the live system -- generate and apply disk layout with disko +- generate and apply disk layout with disko (see above) - Generate ´hardware-configuration.nix` with ``sudo nixos-generate-config --no-filesystems --root /mnt`` -- Install nixos system with ``sudo nixos-install --root /mnt --flake .#HOSTNAME`` +- Install nixos system with ``sudo nixos-install --root /mnt --no-root-passwd --flake .#HOSTNAME`` - After a reboot add age key to sops-nix with ``nix shell nixpkgs#ssh-to-age`` and ``ssh-to-age < /etc/ssh/ssh_host_ed25519_key.pub`` - Add ``/etc/machine-id`` and luks password to secrets - Enable and deploy secrets again