From 18505d4cbbdae5b0805e57ccc8e19b0befb16cb0 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Sun, 5 Mar 2023 23:03:34 -0500 Subject: [PATCH] enable steam remote play --- modules/nixos/gaming/steam.nix | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/modules/nixos/gaming/steam.nix b/modules/nixos/gaming/steam.nix index 896c27e..7bfdbcb 100644 --- a/modules/nixos/gaming/steam.nix +++ b/modules/nixos/gaming/steam.nix @@ -5,15 +5,20 @@ config = lib.mkIf (config.gaming.steam.enable && pkgs.stdenv.isLinux) { hardware.steam-hardware.enable = true; unfreePackages = [ "steam" "steam-original" "steamcmd" "steam-run" ]; - environment.systemPackages = with pkgs; [ - steam + programs.steam = { + enable = true; + remotePlay.openFirewall = true; + }; + + environment.systemPackages = with pkgs; [ # Enable terminal interaction steamPackages.steamcmd steam-tui ]; + }; }