Set allowDiscards to enable NVMe TRIM
This commit is contained in:
parent
8685dece56
commit
36df179501
2 changed files with 8 additions and 2 deletions
|
|
@ -18,7 +18,10 @@
|
||||||
fsType = "ext4";
|
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" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/B684-07FB";
|
{ device = "/dev/disk/by-uuid/B684-07FB";
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,10 @@
|
||||||
fsType = "ext4";
|
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" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/24AC-733A";
|
{ device = "/dev/disk/by-uuid/24AC-733A";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue