aboutsummaryrefslogtreecommitdiff
path: root/nixos/machine/dean.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/machine/dean.nix')
-rw-r--r--nixos/machine/dean.nix5
1 files changed, 5 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;
+ };
+
};
}