1.2 KiB
1.2 KiB
Run disko first, then install.
sudo nix --experimental-features "nix-command flakes" run github:nix-community/disko -- --mode disko /path/to/disko.nix
sudo nixos-install --root /mnt --no-root-passwd --flake .#titanium
need to comment out lanzaboote stuff to get it working... :( then re-enable it after the system is online again.
There is clearly some kind of quirk about boot drives. We're going to try again, and double-check reading through config this time.
I've already partitioned the drive(s) with disko, but I don't have a reason not to do it again.
There is some reason why if I import disko into my nixos config it creates a conflict between the name of the drives.
/dev/crypt/mapper
# and a full uuid path
I figured it out, after you have the disk paths and stuff setup with disko you no longer need to maintain them in hardware-configuration.nix
Which.. is actually quite nice to be honest.