From fba2aa363a8b8c4670c7eafd227bfd4eb675d856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Wed, 20 Jul 2022 11:32:54 +0200 Subject: nixos: add swap for dean and spt-mox2 --- nixos/machine/spt-mox2.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nixos/machine/spt-mox2.nix') 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; -- cgit v1.2.3