From 68f78e8f7fc01b6e155a81f497dcc564bd08b69c Mon Sep 17 00:00:00 2001 From: cswimr Date: Sun, 17 Nov 2024 10:23:27 -0500 Subject: [PATCH] add`steam`, `prismlauncher`,and `heroic` --- flake.nix | 1 + nixos/gaming.nix | 14 ++++++++++++++ 2 files changed, 15 insertions(+) create mode 100644 nixos/gaming.nix diff --git a/flake.nix b/flake.nix index 1203854..4eee9e6 100644 --- a/flake.nix +++ b/flake.nix @@ -25,6 +25,7 @@ ./nixos/catppuccin.nix ./nixos/configuration.nix ./nixos/environment.nix + ./nixos/gaming.nix ./nixos/git.nix ./nixos/gui-pkgs.nix ./nixos/nvidia.nix diff --git a/nixos/gaming.nix b/nixos/gaming.nix new file mode 100644 index 0000000..986e49d --- /dev/null +++ b/nixos/gaming.nix @@ -0,0 +1,14 @@ +{ pkgs, ... }: { + 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 + }; + environment.systemPackages = with pkgs; [ + prismlauncher + heroic #FIXME - desktop entries are not added (KDE PLlasma) + protonup-qt + protontricks + winetricks + ]; +}