forked from c3d2/nix-config
README.md: don't set root password
This commit is contained in:
parent
03ded3f74a
commit
3a49a4dd53
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue