luks: use allowDiscards option

This commit is contained in:
Felix Buehler authored and mergify[bot] committed 2023-11-04 12:09:41 +00:00
1 parent 944d338d24
commit 548962c50b
4 files changed
+17 -11

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@
content = {
type = "luks";
name = "crypted";
extraOpenArgs = [ "--allow-discards" ];
settings.allowDiscards = true;
passwordFile = "/tmp/secret.key";
content = {
type = "filesystem";