README.md: don't set root password

This commit is contained in:
Sandro - 2023-05-20 22:11:30 +02:00
parent 03ded3f74a
commit 3a49a4dd53
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 2 additions and 2 deletions

View File

@ -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