diff --git a/flake.nix b/flake.nix index 610e4cb..204f4c2 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,7 @@ ./hardware/laptop/configuration.nix ./traits/gnome.nix ./traits/laptop.nix + ./traits/gaming.nix ]); }; devShells.default = pkgs.mkShell { diff --git a/traits/gaming.nix b/traits/gaming.nix new file mode 100644 index 0000000..64ac387 --- /dev/null +++ b/traits/gaming.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: + +{ + hardware.steam-hardware.enable = true; + programs.steam = { + enable = true; + package = pkgs.steam; + gamescopeSession.enable = true; + remotePlay.openFirewall = true; + dedicatedServer.openFirewall = true; + }; +}