diff --git a/configuration.nix b/configuration.nix index 06a86b4..47c300c 100644 --- a/configuration.nix +++ b/configuration.nix @@ -44,6 +44,7 @@ boot.initrd.luks.devices.root = { device = "/dev/disk/by-partlabel/nixos-crypt"; preLVM = true; + allowDiscards = true; }; boot.plymouth.enable = true; @@ -68,6 +69,7 @@ options = [ "noatime" "nodiratime" + "discard" ]; }; @@ -82,7 +84,6 @@ networking.networkmanager.enable = true; - # Wayland and Console services.xserver.xkb.layout = "de"; console.keyMap = "de";