Drop the zram Module and enable zram inline on neogaia

modules/zram.nix only wrapped the native zramSwap.enable toggle without
adding anything. Rewrite the touched comments to describe only the current
file content, and record the in-file-comment convention in CLAUDE.md.
This commit is contained in:
2026-07-18 15:41:43 -04:00
parent 6c1ebfdd5f
commit 96f2de54ca
5 changed files with 15 additions and 31 deletions

View File

@@ -17,10 +17,7 @@
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
# Kernel is a per-Host choice, expressed through boot.kernelPackages: neogaia
# runs the CachyOS kernel from chaotic-nyx (fetched from the chaotic binary
# cache wired in system/, not compiled from source). Other Hosts pick their
# own kernel the same way, so the choice never leaves the Host.
# neogaia runs the CachyOS kernel, selected per-Host via boot.kernelPackages.
boot.kernelPackages = pkgs.linuxPackages_cachyos;
# Intel CPU microcode updates for the XPS 13's Core i7-8565U.
@@ -29,7 +26,6 @@
# Redistributable firmware — carries the ath10k blobs the QCA6174 wifi needs.
hardware.enableRedistributableFirmware = true;
# Swap is RAM-backed zram (the zram Module) rather than an on-disk partition,
# matching the disko layout, which declares no swap partition.
modules.zram.enable = true;
# Swap is RAM-backed zram rather than an on-disk partition.
zramSwap.enable = true;
}