nixy: luks allow discards

This commit is contained in:
Asmir A 2024-08-25 10:51:15 +02:00
parent 3d46b03022
commit 472105eb8a
Signed by: asmir
GPG Key ID: 020C42B7A9ABA3E2

View File

@ -9,6 +9,7 @@
];
boot.initrd.luks.devices."crypt_dev".device = "/dev/disk/by-uuid/e10821b9-5426-4f03-b716-1645a64fcd6a";
boot.initrd.luks.devices."crypt_dev".allowDiscards = true;
boot.initrd.availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "uas" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "kvm-amd" "amd-gpu" ];