all: Add allowDiscards to LUKS and enable weekly fstrim
This commit is contained in:
parent
13868e6906
commit
55606b41cc
2 changed files with 4 additions and 1 deletions
|
@ -8,6 +8,7 @@ in
|
|||
boot.initrd.luks.devices."cryptroot" = {
|
||||
fallbackToPassword = true;
|
||||
keyFile = secretsFile;
|
||||
allowDiscards = true; # Allow TRIM
|
||||
};
|
||||
|
||||
# copy the secret into the additional initramfs. `null` means same path
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue