swap: don't activate random encrypted swap files

This requires more code and is not implemented just now.
This commit is contained in:
Jörg Thalheim authored and mergify[bot] committed 2023-11-25 15:47:29 +00:00
1 parent 2d7d77878c
commit 3cb78c93e6
3 files changed
+14 -13

No files matched your search

+8 -3
View File
@@ -24,11 +24,17 @@
mountpoint = "/";
};
};
swap = {
size = "100%";
encryptedSwap = {
size = "10M";
content = {
type = "swap";
randomEncryption = true;
};
};
plainSwap = {
size = "100%";
content = {
type = "swap";
resumeDevice = true; # resume from hiberation from this device
};
};
@@ -38,4 +44,3 @@
};
};
}