mirror of
https://github.com/nix-community/disko.git
synced 2026-11-30 13:03:28 +01:00
swap: support swapDevices.*.priority option
This just forwards to the underlying NixOS option and expands the mount script to exhibit the same behavior.
This commit is contained in:
2 files changed
+15
-2
No files matched your search
@@ -29,6 +29,7 @@
|
||||
content = {
|
||||
type = "swap";
|
||||
randomEncryption = true;
|
||||
priority = 100; # prefer to encrypt as long as we have space for it
|
||||
};
|
||||
};
|
||||
plainSwap = {
|
||||
|
||||
Reference in new issue
Block a user