# NixOS Gaming Base Diese Basis-Config ist für ein Desktop-System mit - Intel Core i9-13900KF - AMD Radeon RX 9070 XT ausgelegt und nutzt jetzt `nixos-unstable`, `Chaotic-Nyx` und COSMIC als Wayland-Desktop. Fokus: - aktueller Kernel - AMD-Grafik mit Chaotic `mesa-git` und 32-Bit-Libs für Steam/Proton - PipeWire + Gaming-/Desktop-Audio-Tools - Steam, Gamescope, MangoHud, Lutris, Heroic, LACT - RGB- und Peripherie-Basis für deine USB-Geräte ## Struktur - `flake.nix`: Einstieg über `nixos-unstable` + `chaotic-cx/nyx` - `configuration.nix`: Host-spezifische Einstiegsdatei - `modules/base.nix`: Boot, Kernel, Locale, Nix, Firmware, Governor - `modules/chaotic-nyx.nix`: Chaotic-Nyx Aktivierung, `allowUnfree`, `mesa-git` - `modules/graphics/mesa-amd.nix`: AMDGPU + Mesa/RADV Basis - `modules/audio/pipewire.nix`: PipeWire, JACK, Pulse, Audio-Tools - `modules/gaming.nix`: Steam, Gamescope, Wine/Launcher-Stack - `modules/desktop/cosmic.nix`: COSMIC Desktop + COSMIC Greeter - `modules/peripherals.nix`: OpenRGB, Logitech/Corsair-nahe Tools, USB-Helfer ## USB-Bezug Die Config berücksichtigt diese aktuell erkannten Geräte: - `048d:5702` ITE RGB LED Controller - `1235:8211` Focusrite Scarlett Solo 3rd Gen - `1b1c:1bfd` Corsair K70 CORE RGB - `046d:c539` Logitech Lightspeed Receiver Daraus folgen aktuell: - `openrgb` + `hardware.i2c.enable` für RGB-/Board-Zugriff - `ratbagd` + `piper` für Logitech-Gaming-Peripherie - `solaar`, `usbutils`, `pciutils` für Device-Handling und Diagnose - PipeWire-Setup für das Scarlett Solo - COSMIC als Wayland-Desktop mit `cosmic-greeter` - Chaotic `mesa-git` mit Fallback-Spezialisierung `stable-mesa` ## Chaotic-Nyx Hinweis Die Flake bindet `github:chaotic-cx/nyx/nyxpkgs-unstable` direkt ein und importiert `chaotic.nixosModules.default`. `modules/chaotic-nyx.nix` aktiviert `chaotic.mesa-git.enable = true;`. ## Nach der Installation 1. Die vom Installer erzeugte `hardware-configuration.nix` nach `./hardware-configuration.nix` kopieren. 2. Falls nötig `users.users.max` und `networking.hostName` in `configuration.nix` anpassen. 3. Passwort für den Benutzer setzen: ```bash passwd max ``` 4. Flake lock erstellen: ```bash nix flake lock ``` 5. System aktivieren: ```bash sudo nixos-rebuild switch --flake .#nixos-gaming ``` ## Späterer Ausbau - COSMIC weiter tunen, z. B. Autologin, Keyring-Policy, Flatpak - OBS / Discord / OpenRGB-Profile / Fancontrol - Btrfs-Subvolumes, Snapshots, Impermanence - spezielle Kernel- oder Scheduler-Tweaks, falls du sie wirklich brauchst