theba: enable TRIM

This commit is contained in:
Gabriel Ebner 2015-09-11 06:59:32 +02:00
parent 2b5ebf019f
commit d5c7ef27a2

@ -7,7 +7,19 @@
./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
boot.extraModprobeConfig = ''