19 lines
700 B
Nix
19 lines
700 B
Nix
![]() |
{
|
||
|
boot.loader.grub.enable = true;
|
||
|
boot.loader.grub.device = "/dev/vda";
|
||
|
boot.loader.grub.useOSProber = false;
|
||
|
|
||
|
boot.initrd.luks.devices."luks-c2ab1085-f8ec-49df-a26b-ece597abc3b7".device = "/dev/disk/by-uuid/c2ab1085-f8ec-49df-a26b-ece597abc3b7";
|
||
|
# Setup keyfile
|
||
|
boot.initrd.secrets = {
|
||
|
"/boot/crypto_keyfile.bin" = null;
|
||
|
};
|
||
|
|
||
|
boot.loader.grub.enableCryptodisk = true;
|
||
|
|
||
|
boot.initrd.luks.devices."luks-938c9dc1-9c55-4152-bc69-4d8770518c90".keyFile = "/boot/crypto_keyfile.bin";
|
||
|
boot.initrd.luks.devices."luks-c2ab1085-f8ec-49df-a26b-ece597abc3b7".keyFile = "/boot/crypto_keyfile.bin";
|
||
|
# boot.loader.systemd-boot.enable = true;
|
||
|
# boot.loader.efi.canTouchEfiVariables = true;
|
||
|
}
|