37 lines
1.2 KiB
Markdown
37 lines
1.2 KiB
Markdown
|
|
|
|
Run disko first, then install.
|
|
|
|
```bash
|
|
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.
|
|
|
|
```bash
|
|
/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.
|
|
|
|
|
|
|
|
## Some Ideas to consider
|
|
|
|
- https://github.com/Sveske-Juice/declarative-jellyfin
|
|
- https://docs.clan.lol
|
|
- fido2 luks cryptenroll
|
|
- https://discourse.nixos.org/t/using-fido2-luks-with-yubikey-pin/15484
|
|
- https://github.com/nix-community/nixhelm/
|