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 + ]; +}