try zfs again
with auto rollback https://ryanseipp.com/post/nixos-encrypted-root/
This commit is contained in:
parent
9b98058650
commit
41d24a7ade
4 changed files with 69 additions and 68 deletions
|
@ -15,16 +15,9 @@
|
|||
|
||||
# /boot efi partition to boot in UEFI mode
|
||||
fileSystems."/boot" = {
|
||||
device = "/dev/disk/by-uuid/554C-161A";
|
||||
device = "/dev/disk/by-id/nvme-Seagate_FireCuda_530_ZP4000GM30013_7VS01VBM-part1";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
# encrypted system
|
||||
boot.initrd.luks.devices."crypt-system" = {
|
||||
device = "/dev/disk/by-uuid/91f98284-b0fa-40b9-8a32-37f71968b2dd";
|
||||
allowDiscards = true;
|
||||
bypassWorkqueues = true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue