Commit 6fd80b0f86de

Vincent Demeester <vincent@sbr.pm>
2026-02-12 15:57:03
feat(okinawa): add gaming support with Steam and tools
Added Steam with GameMode optimizations for gaming: - Steam with Remote Play and dedicated server support - GameMode for automatic CPU/GPU performance optimizations - MangoHud/Goverlay for performance monitoring overlay - Protonup-qt for custom Proton version management - Protontricks for game-specific fixes - Heroic launcher for GOG/Epic Games
1 parent 5281c23
Changed files (1)
systems
okinawa
systems/okinawa/extra.nix
@@ -15,6 +15,27 @@
     ../common/services/prometheus-exporters-node.nix
   ];
 
+  # Gaming setup
+  programs.steam = {
+    enable = true;
+    remotePlay.openFirewall = true; # Steam Link support
+    dedicatedServer.openFirewall = true; # Game server hosting
+  };
+
+  programs.gamemode = {
+    enable = true;
+    settings = {
+      general = {
+        renice = 10; # Increase game process priority
+      };
+      gpu = {
+        apply_gpu_optimisations = "accept-responsibility";
+        gpu_device = 0;
+        amd_performance_level = "high"; # AMD GPU performance mode
+      };
+    };
+  };
+
   # Wireguard VPN
   services.wireguard = {
     enable = true;
@@ -60,7 +81,7 @@
     HSA_OVERRIDE_GFX_VERSION = "10.3.0";
   };
 
-  # System packages for LLM work
+  # System packages for LLM and gaming
   environment.systemPackages = with pkgs; [
     # LLM tools
     (llama-cpp.override {
@@ -76,6 +97,13 @@
     asusctl # CLI for supergfxctl
     supergfxctl
 
+    # Gaming tools
+    mangohud # FPS and performance overlay
+    goverlay # MangoHud configuration GUI
+    protonup-qt # Install custom Proton versions (Proton-GE)
+    protontricks # Winetricks for Proton prefixes
+    heroic # GOG/Epic Games launcher
+
     # Development
     python3
     uv