diff --git a/hosts/neon/hardware-configuration.nix b/hosts/neon/hardware-configuration.nix index ee79eda..e115731 100644 --- a/hosts/neon/hardware-configuration.nix +++ b/hosts/neon/hardware-configuration.nix @@ -25,7 +25,11 @@ "dm-snapshot" "cryptd" ]; - boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-label/nixcrypt"; + boot.initrd.luks.devices."cryptroot" = { + device = "/dev/disk/by-label/nixcrypt"; + allowDiscards = true; + bypassWorkqueues = true; + }; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ];