rydiwo: restore 6 GiB /swapfile in config — that switch never happened
Reverts 0ae07a3. That commit shrank the swap file to 0.5 GiB for one
reason only: so a pending `nixos-rebuild switch` would fit in the free
space. The switch turned out to be impossible for an unrelated reason —
nixpkgs' linuxPackages_xanmod_stable cannot apply
tools-add-128-bit-integer-types-for-aarch64.patch ("Reversed (or
previously applied) patch detected" in linux-config-7.3.3) — so the
update was never applied.
The 6 GiB swap file is already back on disk and active (`swapon --show`),
so the config has to match the disk again: `size = 6144`, and the
TEMPORARY comment that only explained the shrink is gone. The 2026-11-11
note about the originally missing swapDevices stays as it is.
This commit is contained in:
1 parent
0ae07a3720
commit
9f0ec71f2a
1 file changed
+1
-5
@@ -79,10 +79,6 @@
|
||||
|
||||
system.stateVersion = "26.05";
|
||||
|
||||
# TEMPORARY 2026-11-12: the box has 20 GiB free and the pending
|
||||
# `nixos-rebuild switch` needs 22.2 GiB unpacked, so the 6 GiB swap file is
|
||||
# shrunk to 0.5 GiB to make the build fit; it goes back to 6144 after the
|
||||
# switch and the garbage collection that follows. Not a permanent choice.
|
||||
# Measured 2026-11-11: a 6 GiB /swapfile exists and is active, but only
|
||||
# because somebody ran `swapon` by hand — there is no swapDevices in the
|
||||
# config and no swap line in the generated /etc/fstab, so a reboot loses
|
||||
@@ -91,7 +87,7 @@
|
||||
swapDevices = [
|
||||
{
|
||||
device = "/swapfile";
|
||||
size = 512;
|
||||
size = 6144;
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
Reference in new issue
Block a user