Watch the video
useful links:
preservation: https://github.com/nix-community/preservation
disko: https://github.com/nix-community/disko
Installation command:
Make sure to replace /dev/vda with your device name
$ sudo nix --extra-experimental-features "nix-command flakes" \
run 'github:nix-community/disko/latest#disko-install' -- \
--flake .#nixos \
--disk main /dev/vda \