swap: support swapDevices.*.discardPolicy option

This commit is contained in:
Giel van Schijndel committed 2024-05-06 12:11:58 +02:00
1 parent e1b3ae2b4e
commit 8a02c0507c
2 files changed
+19 -2

No files matched your search

+1
View File
@@ -35,6 +35,7 @@
size = "100%";
content = {
type = "swap";
discardPolicy = "both";
resumeDevice = true; # resume from hiberation from this device
};
};