fix cryptsetup

This commit is contained in:
Charlotte 🦝 Delenk 2022-01-14 10:50:02 +01:00
parent af5928f14f
commit 283dbe6530
Signed by: darkkirb
GPG key ID: 015E3768A70AFBC5

View file

@ -15,6 +15,12 @@
boot.kernelParams = ["zfs_force=1"]; # Remove after next boot boot.kernelParams = ["zfs_force=1"]; # Remove after next boot
boot.loader.grub.devices = [ "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0" ]; boot.loader.grub.devices = [ "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0-0-0-0" ];
boot.loader.timeout = 5; boot.loader.timeout = 5;
boot.initrd.luks.enable = true;
boot.initrd.luks.devices = {
disk0 = {
device = "/dev/disk/by-partuuid/29ccd4c9-5ef5-a146-8e42-9244f712baca";
};
};
fileSystems."/" = fileSystems."/" =
{ device = "tank/nixos"; { device = "tank/nixos";