Added support for initialising encrypted disk

This commit is contained in:
Luke Else 2025-03-21 10:37:48 +00:00
parent 3df2dd0922
commit 99732d8d23

View File

@ -10,6 +10,20 @@
canTouchEfiVariables = true;
};
boot = {
loader = {
systemd-boot = {
enable = true;
};
};
efi = {
enable = true;
canTouchEfiVariables = true;
espDevice = "/dev/sda2";
};
initrd.luks.devices.cryptroot.device = "/dev/sda2";
}
fileSystems."/" = {
device = "/dev/mapper/root";
fsType = "ext4";