added FDE for Ratchet
This commit is contained in:
@@ -14,18 +14,28 @@
|
||||
boot.extraModulePackages = [ ];
|
||||
boot.extraModprobeConfig = "options kvm_amd nested=1";
|
||||
|
||||
boot.initrd.clevis = {
|
||||
enable = true;
|
||||
devices."luks-zroot".secretFile = ../../secrets/Ratchet/main.jwe;
|
||||
devices."luks-swap".secretFile = ../../secrets/Ratchet/main.jwe;
|
||||
};
|
||||
|
||||
boot.initrd.luks.devices = {
|
||||
luks-zroot.device = "/dev/nvme0n1p2";
|
||||
luks-swap.device = "/dev/nvme0n1p3";
|
||||
};
|
||||
fileSystems."/" =
|
||||
{ device = "none";
|
||||
fsType = "tmpfs";
|
||||
options = ["defaults" "size=1G" "mode=755"];
|
||||
};
|
||||
fileSystems."/nix" =
|
||||
{ device = "ratchet-zfs/root/nix";
|
||||
{ device = "ratchet-zroot/system/nix";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
fileSystems."/home" =
|
||||
{ device = "ratchet-zfs/root/home";
|
||||
{ device = "ratchet-zroot/system/home";
|
||||
fsType = "zfs";
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user