diff options
-rw-r--r-- | nixos/modules/turris-defaults.nix | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/nixos/modules/turris-defaults.nix b/nixos/modules/turris-defaults.nix index ee7f88e..ff2e141 100644 --- a/nixos/modules/turris-defaults.nix +++ b/nixos/modules/turris-defaults.nix @@ -20,11 +20,6 @@ in { default = "NixTurris"; description = "GPT partition label the root system is stored on"; }; - swapLabel = mkOption { - type = types.str; - default = "NixTurrisSwap"; - description = "GPT partition label for available swap parition"; - }; }; }; @@ -57,11 +52,6 @@ in { enable = true; memoryPercent = 80; }; - # Nix is really memory hungry so we have to sometimes also use swap device. - swapDevices = [{ - device = "/dev/disk/by-partlabel/" + cnf.swapLabel; - priority = 0; - }]; fileSystems = { "/" = { |