From fc2234ae2105238b28e931f744ee8d9ba7c839cd Mon Sep 17 00:00:00 2001 From: Dennis Schoepf Date: Tue, 3 Mar 2026 22:41:31 +0100 Subject: [PATCH] migrate gaming --- modules/gaming/default.nix | 20 ++++++++++++++++++++ modules/hosts/dnsc-machine/default.nix | 3 ++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/modules/gaming/default.nix b/modules/gaming/default.nix index b9282de..1f60277 100644 --- a/modules/gaming/default.nix +++ b/modules/gaming/default.nix @@ -4,5 +4,25 @@ { pkgs, ... }: { programs.gamemode.enable = true; + programs.gamescope.enable = true; + programs.steam = { + enable = true; + remotePlay.openFirewall = true; + protontricks.enable = true; + + extraCompatPackages = with pkgs; [ + proton-ge-bin + ]; + extraPackages = with pkgs; [ + gamescope + ]; + }; + + environment.systemPackages = with pkgs; [ + lutris + steam-run + gamescope + mangohud + ]; }; } diff --git a/modules/hosts/dnsc-machine/default.nix b/modules/hosts/dnsc-machine/default.nix index 60d71a1..6860343 100644 --- a/modules/hosts/dnsc-machine/default.nix +++ b/modules/hosts/dnsc-machine/default.nix @@ -9,10 +9,11 @@ in home-manager base nvidia-graphics - graphics-tablet + drawing-tablet printing shell desktop + gaming { imports = [ ./_hardware-configuration.nix ];