diff --git a/bert/hardware-configuration.nix b/bert/hardware-configuration.nix index bd11bff..1d01430 100644 --- a/bert/hardware-configuration.nix +++ b/bert/hardware-configuration.nix @@ -18,7 +18,10 @@ fsType = "ext4"; }; - boot.initrd.luks.devices."luks-da40f6d2-49d7-4a55-8a2e-94fa5f28dbbc".device = "/dev/disk/by-uuid/da40f6d2-49d7-4a55-8a2e-94fa5f28dbbc"; + boot.initrd.luks.devices."luks-da40f6d2-49d7-4a55-8a2e-94fa5f28dbbc" = { + device = "/dev/disk/by-uuid/da40f6d2-49d7-4a55-8a2e-94fa5f28dbbc"; + allowDiscards = true; + }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/B684-07FB"; diff --git a/oscar/hardware-configuration.nix b/oscar/hardware-configuration.nix index a950bd3..4ab4ac4 100644 --- a/oscar/hardware-configuration.nix +++ b/oscar/hardware-configuration.nix @@ -32,7 +32,10 @@ fsType = "ext4"; }; - boot.initrd.luks.devices."luks-8ecd33f4-36cf-44f2-b215-5e67887418b9".device = "/dev/disk/by-uuid/8ecd33f4-36cf-44f2-b215-5e67887418b9"; + boot.initrd.luks.devices."luks-8ecd33f4-36cf-44f2-b215-5e67887418b9" = { + device = "/dev/disk/by-uuid/8ecd33f4-36cf-44f2-b215-5e67887418b9"; + allowDiscards = true; + }; fileSystems."/boot" = { device = "/dev/disk/by-uuid/24AC-733A";