Added support for initialising encrypted disk
This commit is contained in:
parent
3df2dd0922
commit
99732d8d23
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user