euhadra: enable fstrim support
This commit is contained in:
parent
46fa053bca
commit
48646bc2d9
14
euhadra.nix
14
euhadra.nix
@ -8,7 +8,19 @@
|
||||
./fstrim.nix
|
||||
];
|
||||
|
||||
boot.initrd.luks.devices = [ { name = "euhadra_crypt"; device = "/dev/disk/by-uuid/328a9ede-0958-490b-8e82-62b06b839e21"; preLVM = true; } ];
|
||||
environment.etc."lvm/lvm.conf".text = ''
|
||||
devices {
|
||||
issue_discards = 1
|
||||
}
|
||||
'';
|
||||
boot.initrd.luks.devices = [
|
||||
{
|
||||
name = "euhadra_crypt";
|
||||
device = "/dev/disk/by-uuid/328a9ede-0958-490b-8e82-62b06b839e21";
|
||||
preLVM = true;
|
||||
allowDiscards = true;
|
||||
}
|
||||
];
|
||||
|
||||
networking.hostName = "euhadra";
|
||||
networking.hostId = "ddb5f0fd";
|
||||
|
Loading…
Reference in New Issue
Block a user