decoysnail: allow discards
This commit is contained in:
parent
d98c680839
commit
ea61d4b093
@ -9,6 +9,11 @@
|
|||||||
./fstrim.nix
|
./fstrim.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
environment.etc."lvm/lvm.conf".text = ''
|
||||||
|
devices {
|
||||||
|
issue_discards = 1
|
||||||
|
}
|
||||||
|
'';
|
||||||
boot.initrd.luks.devices = [
|
boot.initrd.luks.devices = [
|
||||||
{
|
{
|
||||||
name = "sda2_crypt";
|
name = "sda2_crypt";
|
||||||
@ -19,6 +24,7 @@
|
|||||||
name = "sdb2_crypt";
|
name = "sdb2_crypt";
|
||||||
device = "/dev/disk/by-uuid/d3485d00-8399-40cc-8bce-80b9bd24e63a";
|
device = "/dev/disk/by-uuid/d3485d00-8399-40cc-8bce-80b9bd24e63a";
|
||||||
preLVM = true;
|
preLVM = true;
|
||||||
|
allowDiscards = true;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user