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