From e8fac6e226861c71c7cf81e9603289298c790641 Mon Sep 17 00:00:00 2001 From: tomoron Date: Tue, 29 Apr 2025 15:56:14 +0200 Subject: [PATCH] add allow discard to cryptroot --- osConfigs/hosts/laptop.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/osConfigs/hosts/laptop.nix b/osConfigs/hosts/laptop.nix index 2b9d206..7e7fdae 100644 --- a/osConfigs/hosts/laptop.nix +++ b/osConfigs/hosts/laptop.nix @@ -4,6 +4,7 @@ boot.kernelParams = [ "kvm.enable_virt_at_load=0" ]; boot.initrd.luks.devices.cryptroot.device = "/dev/disk/by-uuid/a4593b01-069d-4a5d-a550-74a762b89b3f"; + boot.initrd.luks.devices.cryptroot.allowDiscards = true; services.displayManager.enable = true; services.displayManager.ly.enable = true;