From 9dda35094d10d2662d9565bcc8e09388c9da8036 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 2 Feb 2026 16:00:00 +0900 Subject: [PATCH] hosts/xps16: 8 gigs of swap --- hosts/xps16/disks.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/hosts/xps16/disks.nix b/hosts/xps16/disks.nix index b5a2d17..07e4bd2 100644 --- a/hosts/xps16/disks.nix +++ b/hosts/xps16/disks.nix @@ -116,10 +116,11 @@ in lib.foldl (x: y: x // y) { } [ { "@" = { }; - # "swap" = { - # mountpoint = "/.swapvol"; - # swap.swapfile.size = "8G"; - # }; + "@swap" = { + mountpoint = "/.swapvol"; + mountOptions = [ "compress=zstd" "noatime" ]; + swap."swapfile".size = "8G"; + }; "root" = { mountpoint = "/"; mountOptions = [ "compress=zstd" "noatime" ];