diff options
| -rw-r--r-- | nixos/machine/dean.nix | 5 | ||||
| -rw-r--r-- | nixos/machine/spt-mox2.nix | 5 | 
2 files changed, 10 insertions, 0 deletions
| diff --git a/nixos/machine/dean.nix b/nixos/machine/dean.nix index eaa9094..3f449e3 100644 --- a/nixos/machine/dean.nix +++ b/nixos/machine/dean.nix @@ -31,6 +31,11 @@ with lib;        dhcpcd.allowInterfaces = [ "brlan" ];      }; +    swapDevices.swapfile = { +      device = "/var/swap"; +      priority = 1; +    }; +    };  } diff --git a/nixos/machine/spt-mox2.nix b/nixos/machine/spt-mox2.nix index ed6a028..5922278 100644 --- a/nixos/machine/spt-mox2.nix +++ b/nixos/machine/spt-mox2.nix @@ -6,6 +6,11 @@ with lib;    config = { +    swapDevices = [{ +      device = "/dev/disk/by-partlabel/NixTurrisSwap"; +      priority = 1; +    }]; +      #boot.kernelPatches = [{      #  name = "rwtm";      #  patch = null; | 
