fix hints
This commit is contained in:
parent
4b25ac85e1
commit
6790828a28
1 changed files with 0 additions and 8 deletions
|
@ -103,26 +103,18 @@ mount
|
||||||
# configure
|
# configure
|
||||||
nixos-generate-config --root /mnt
|
nixos-generate-config --root /mnt
|
||||||
|
|
||||||
# check /mnt/etc/nixos/hardware-configuration.nix to get UUIDs
|
|
||||||
cat /mnt/etc/nixos/hardware-configuration.nix
|
|
||||||
|
|
||||||
# copy config data from another machine including secrets
|
# copy config data from another machine including secrets
|
||||||
|
|
||||||
doas scp -r /data/nixos root@192.168.13.171:/mnt/data
|
doas scp -r /data/nixos root@192.168.13.171:/mnt/data
|
||||||
|
|
||||||
# install
|
# install
|
||||||
|
|
||||||
nixos-install --option experimental-features 'nix-command flakes' --no-root-passwd --root /mnt
|
nixos-install --option experimental-features 'nix-command flakes' --no-root-passwd --root /mnt
|
||||||
|
|
||||||
# unmount all stuff and sync
|
# unmount all stuff and sync
|
||||||
|
|
||||||
umount -Rl /data /mnt
|
umount -Rl /data /mnt
|
||||||
sync
|
sync
|
||||||
|
|
||||||
# shutdown once
|
# shutdown once
|
||||||
|
|
||||||
shutdown now
|
shutdown now
|
||||||
|
|
||||||
# sync all /data after the install
|
# sync all /data after the install
|
||||||
|
|
||||||
doas rsync -va --delete --one-file-system /data/ root@192.168.13.171:/data/
|
doas rsync -va --delete --one-file-system /data/ root@192.168.13.171:/data/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue