[disko] no encrypted swap when encryption disabled

This commit is contained in:
2025-02-06 17:36:25 +01:00
parent 49aed32687
commit a0756e4617

View File

@@ -102,7 +102,7 @@ in
mountOptions = [ "umask=0077" ];
};
};
encryptedSwap = {
encryptedSwap = lib.mkIf cfg.encryption {
size = cfg.root.swap;
content = {
type = "swap";