From d40fbe7eed7d86654f09d64c752ee90427a55e35 Mon Sep 17 00:00:00 2001 From: Hare Date: Sun, 2 Feb 2025 16:40:00 +0900 Subject: [PATCH] enable Steam --- hosts/arcadia/nixos.nix | 1 + programs/steam.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 programs/steam.nix diff --git a/hosts/arcadia/nixos.nix b/hosts/arcadia/nixos.nix index 15217f3..82f02b1 100644 --- a/hosts/arcadia/nixos.nix +++ b/hosts/arcadia/nixos.nix @@ -18,6 +18,7 @@ ../../programs/v4l2.nix ../../programs/desktop/hyprland.nix ../../programs/fcitx.nix + ../../programs/steam.nix ]; environment.systemPackages = with pkgs; [ deno diff --git a/programs/steam.nix b/programs/steam.nix new file mode 100644 index 0000000..65035f8 --- /dev/null +++ b/programs/steam.nix @@ -0,0 +1,8 @@ +{ + programs.steam = { + enable = true; + remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play + 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 + }; +}