Add nix-gaming, Home Manager, and system improvements

- Add nix-gaming flake for gaming optimizations
- Add Home Manager for better user package management
- Enable zramSwap for memory compression
- Enable fwupd for firmware updates
- Enable power-profiles-daemon for power management
- Add PipeWire low-latency configuration
- Add platform optimizations from nix-gaming
- Add gaming tools: LACT, vkbasalt, discord
- Add dev tools: meld, dbeaver-bin, insomnia

Co-authored-by: ragusa-it <196988693+ragusa-it@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-02-01 20:13:24 +00:00
parent 1944b51e29
commit ec82700be0
4 changed files with 56 additions and 4 deletions

View File

@@ -23,6 +23,19 @@
networking.networkmanager.enable = true;
# Memory compression (reduces swap usage)
zramSwap = {
enable = true;
algorithm = "zstd";
memoryPercent = 50;
};
# Firmware updates
services.fwupd.enable = true;
# Power profiles daemon (for laptop/power management)
services.power-profiles-daemon.enable = true;
# --------------------------------------------------------------------------
# AMD GPU - RDNA 4 (RX 9060 XT) + Zen 3 CPU (5700G)
# --------------------------------------------------------------------------
@@ -162,6 +175,13 @@
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
# Low-latency configuration for gaming
lowLatency = {
enable = true;
quantum = 64; # Buffer size (lower = less latency)
rate = 48000; # Sample rate
};
};
# Disable PulseAudio (conflicts with PipeWire)