no fucking clue what I changed but good luck (^_^)*

This commit is contained in:
Emile Clark-Boman 2025-05-01 21:16:15 +10:00
parent b3bb2227d1
commit 35b54acb85
9 changed files with 151 additions and 21 deletions

24
hosts/modules/steam.nix Normal file
View file

@ -0,0 +1,24 @@
{
pkgs,
lib,
...
}: {
nixpkgs.config.allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
localNetworkGameTransfers.openFirewall = true;
};
environment.systemPackages = with pkgs; [
steamcmd
];
}