Compare commits

...

3 commits

Author SHA1 Message Date
e9adff9c68 added missing import 2025-02-12 10:25:05 +01:00
0c2af247c9 added steam to the list of programs to run 2025-02-12 10:12:03 +01:00
4f094148f4 game related config 2025-02-12 10:11:34 +01:00
3 changed files with 19 additions and 1 deletions

View file

@ -1,4 +1,4 @@
{config, pkgs}: {config, pkgs, ...}:
{ {

View file

@ -7,6 +7,7 @@
./flatpak.nix ./flatpak.nix
./discord.nix ./discord.nix
./ollama.nix ./ollama.nix
./steam.nix
]; ];
} }

View file

@ -0,0 +1,17 @@
{config, pkgs, lib, ...}:
{
programs.gamemode.enable = true;
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
};
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-unwrapped"
"steam-original"
"steam-run"
];
}