theba: enable TRIM
This commit is contained in:
parent
2b5ebf019f
commit
d5c7ef27a2
14
theba.nix
14
theba.nix
@ -7,7 +7,19 @@
|
|||||||
./uefi.nix
|
./uefi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.luks.devices = [ { name = "sda2_crypt"; device = "/dev/disk/by-uuid/a7482f34-1d7b-4181-9f3c-f6bbbdb8679d"; preLVM = true; } ];
|
environment.etc."lvm/lvm.conf".text = ''
|
||||||
|
devices {
|
||||||
|
issue_discards = 1
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
boot.initrd.luks.devices = [
|
||||||
|
{
|
||||||
|
name = "sda2_crypt";
|
||||||
|
device = "/dev/disk/by-uuid/a7482f34-1d7b-4181-9f3c-f6bbbdb8679d";
|
||||||
|
preLVM = true;
|
||||||
|
allowDiscards = true;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
|
||||||
# workaround until trackpad is supported properly
|
# workaround until trackpad is supported properly
|
||||||
boot.extraModprobeConfig = ''
|
boot.extraModprobeConfig = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user