From acb5edb3fbbd02876facff5068427f44ebde86b6 Mon Sep 17 00:00:00 2001 From: Aditya Date: Thu, 9 Nov 2023 18:53:57 +0530 Subject: [PATCH] add kernel param to allow discard --- configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/configuration.nix b/configuration.nix index 9500158..ab7bfee 100644 --- a/configuration.nix +++ b/configuration.nix @@ -41,6 +41,7 @@ flake-overlays: options snd-hda-intel model=alc255-acer,dell-headset-multi options i8042 nopnp=1 ''; + boot.kernelParams = [ "allow-discards" ]; # Setup keyfile boot.initrd.secrets = {