Integrate nix-gaming optimizations and Home Manager foundation #3

Merged
Copilot merged 3 commits from copilot/sub-pr-2 into claude/analyze-setup-z9dDE 2026-02-01 20:22:14 +00:00
Copilot commented 2026-02-01 20:11:08 +00:00 (Migrated from github.com)

Implements battle-tested gaming optimizations and sets up infrastructure for better package management based on community best practices analysis.

Flake Inputs

  • nix-gaming - SteamOS-inspired platform optimizations and low-latency audio
  • home-manager - Foundation for user-level declarative configuration

System Services (common.nix)

  • PipeWire low-latency: quantum 64, rate 48000
  • zramSwap: zstd compression at 50% memory
  • fwupd: firmware update support
  • power-profiles-daemon: dynamic power management

Gaming Profile

  • Platform optimizations via nix-gaming.platformOptimisations
  • Added: LACT (GPU control), vkbasalt (post-processing), discord

Dev Profile

  • Added: meld (visual diff), dbeaver-bin (DB GUI), insomnia (API testing)

Home Manager is wired but not yet used - user configurations can be added via home-manager.users.<username> blocks when ready to migrate packages from system-level.


Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Implements battle-tested gaming optimizations and sets up infrastructure for better package management based on community best practices analysis. **Flake Inputs** - `nix-gaming` - SteamOS-inspired platform optimizations and low-latency audio - `home-manager` - Foundation for user-level declarative configuration **System Services (common.nix)** - PipeWire low-latency: quantum 64, rate 48000 - zramSwap: zstd compression at 50% memory - fwupd: firmware update support - power-profiles-daemon: dynamic power management **Gaming Profile** - Platform optimizations via `nix-gaming.platformOptimisations` - Added: LACT (GPU control), vkbasalt (post-processing), discord **Dev Profile** - Added: meld (visual diff), dbeaver-bin (DB GUI), insomnia (API testing) Home Manager is wired but not yet used - user configurations can be added via `home-manager.users.<username>` blocks when ready to migrate packages from system-level. <!-- START COPILOT CODING AGENT TIPS --> --- ✨ Let Copilot coding agent [set things up for you](https://github.com/ragusa-it/nixos/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo.
ragusa-it (Migrated from github.com) approved these changes 2026-02-01 20:18:59 +00:00
copilot-pull-request-reviewer[bot] (Migrated from github.com) reviewed 2026-02-01 20:21:00 +00:00
copilot-pull-request-reviewer[bot] (Migrated from github.com) left a comment

Pull request overview

Integrates community-proven NixOS gaming optimizations and adds a Home Manager module baseline to support future migration of user-level configuration into declarative Home Manager profiles.

Changes:

  • Added nix-gaming flake input and enabled its platform optimizations in the gaming profile.
  • Added Home Manager as a NixOS module with global/user package wiring (no per-user HM config yet).
  • Expanded gaming and dev profiles with additional tools (vkBasalt/LACT/Discord; delta/meld/dbeaver/insomnia) and added common system services (zramSwap, fwupd, power-profiles-daemon, PipeWire low-latency config).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
modules/gaming.nix Imports and enables nix-gaming platform optimizations; adds gaming-related packages (vkbasalt, lact, discord).
modules/dev.nix Adds/organizes dev tooling packages (delta, meld, dbeaver-bin, insomnia).
modules/common.nix Enables zram swap, fwupd, power-profiles-daemon; configures PipeWire low-latency settings.
flake.nix Adds nix-gaming and home-manager inputs; wires Home Manager module into shared module set.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

## Pull request overview Integrates community-proven NixOS gaming optimizations and adds a Home Manager module baseline to support future migration of user-level configuration into declarative Home Manager profiles. **Changes:** - Added `nix-gaming` flake input and enabled its platform optimizations in the gaming profile. - Added Home Manager as a NixOS module with global/user package wiring (no per-user HM config yet). - Expanded gaming and dev profiles with additional tools (vkBasalt/LACT/Discord; delta/meld/dbeaver/insomnia) and added common system services (zramSwap, fwupd, power-profiles-daemon, PipeWire low-latency config). ### Reviewed changes Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment. | File | Description | | ---- | ----------- | | modules/gaming.nix | Imports and enables nix-gaming platform optimizations; adds gaming-related packages (vkbasalt, lact, discord). | | modules/dev.nix | Adds/organizes dev tooling packages (delta, meld, dbeaver-bin, insomnia). | | modules/common.nix | Enables zram swap, fwupd, power-profiles-daemon; configures PipeWire low-latency settings. | | flake.nix | Adds `nix-gaming` and `home-manager` inputs; wires Home Manager module into shared module set. | --- 💡 <a href="/ragusa-it/nixos/new/main/.github/instructions?filename=*.instructions.md" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Add Copilot custom instructions</a> for smarter, more guided reviews. <a href="https://docs.github.com/en/copilot/customizing-copilot/adding-repository-custom-instructions-for-github-copilot" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Learn how to get started</a>.
@@ -25,0 +31,4 @@
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
copilot-pull-request-reviewer[bot] (Migrated from github.com) commented 2026-02-01 20:21:00 +00:00

The new flake inputs nix-gaming and home-manager are referenced via mutable GitHub URLs without a committed flake.lock, so each build can pull arbitrary code from the upstream default branches. If either upstream repository or the GitHub supply chain is compromised, a malicious update could be fetched and evaluated as part of the NixOS build, leading to remote code execution or full system compromise. Pin these inputs via a committed flake.lock or explicit immutable revisions and update them only through a controlled process.

The new flake inputs `nix-gaming` and `home-manager` are referenced via mutable GitHub URLs without a committed `flake.lock`, so each build can pull arbitrary code from the upstream default branches. If either upstream repository or the GitHub supply chain is compromised, a malicious update could be fetched and evaluated as part of the NixOS build, leading to remote code execution or full system compromise. Pin these inputs via a committed `flake.lock` or explicit immutable revisions and update them only through a controlled process.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ragusa-it/nixos#3