forked from c3d2/nix-config
Expand install instructions
This commit is contained in:
parent
5fe43ca47f
commit
d4bcd1161e
|
@ -267,9 +267,9 @@ When adding new disks the paths under ``/dev/disk/by-id/`` should be used, so th
|
|||
- Set a password for the NixOS user
|
||||
- `rsync` the this directory into the live system
|
||||
- generate and apply disk layout with disko
|
||||
- Generate ´hardware-configuration.nix`
|
||||
- Install nixos system
|
||||
- Generate ´hardware-configuration.nix` with ``sudo nixos-generate-config --no-filesystems --root /mnt``
|
||||
- Install nixos system with ``sudo nixos-install --root /mnt --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`` to secrets
|
||||
- Add ``/etc/machine-id`` and luks password to secrets
|
||||
- Enable and deploy secrets again
|
||||
- Commit everything and push
|
||||
|
|
Loading…
Reference in New Issue
Block a user