From 00f39f4ecffb66f055da1524e19f23980b8b9748 Mon Sep 17 00:00:00 2001 From: Romain Paquet Date: Tue, 24 Feb 2026 17:53:46 +0100 Subject: [PATCH] extract steam module from haze --- machines/haze/configuration.nix | 2 +- {machines/haze => nixosModules}/steam.nix | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) rename {machines/haze => nixosModules}/steam.nix (90%) diff --git a/machines/haze/configuration.nix b/machines/haze/configuration.nix index d2a0b09..8b102d1 100644 --- a/machines/haze/configuration.nix +++ b/machines/haze/configuration.nix @@ -11,7 +11,6 @@ ./hibernate.nix ./niri.nix ./ssh.nix - ./steam.nix ./network.nix ./syncthing.nix @@ -19,6 +18,7 @@ self.nixosModules.desktop self.nixosModules.lanzaboote self.nixosModules.nix-defaults + self.nixosModules.steam self.inputs.home-manager.nixosModules.home-manager { diff --git a/machines/haze/steam.nix b/nixosModules/steam.nix similarity index 90% rename from machines/haze/steam.nix rename to nixosModules/steam.nix index 65035f8..d8be552 100644 --- a/machines/haze/steam.nix +++ b/nixosModules/steam.nix @@ -5,4 +5,6 @@ dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server localNetworkGameTransfers.openFirewall = true; # Open ports in the firewall for Steam Local Network Game Transfers }; + + programs.gamemode.enable = true; }