diff options
Diffstat (limited to 'beta/hardware-configuration.nix')
-rw-r--r-- | beta/hardware-configuration.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/beta/hardware-configuration.nix b/beta/hardware-configuration.nix index 4f4155d..215e221 100644 --- a/beta/hardware-configuration.nix +++ b/beta/hardware-configuration.nix @@ -19,7 +19,10 @@ }; # /nix encrypted btrfs for the remaining space - boot.initrd.luks.devices."crypt0".device = "/dev/disk/by-id/nvme-SAMSUNG_MZVLB1T0HBLR-000L2_S4DZNX0R362286-part2"; + boot.initrd.luks.devices."crypt0" = { + device = "/dev/disk/by-id/nvme-SAMSUNG_MZVLB1T0HBLR-000L2_S4DZNX0R362286-part2"; + allowDiscards = true; + }; fileSystems."/nix" = { device = "/dev/mapper/crypt0"; fsType = "btrfs"; |