mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 21:13:28 +01:00
swap: don't activate random encrypted swap files
This requires more code and is not implemented just now.
This commit is contained in:
1 parent
2d7d77878c
commit
3cb78c93e6
3 files changed
+14
-13
No files matched your search
+8
-3
@@ -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 @@
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user