mirror of
https://github.com/adrlau/nix-dotfiles.git
synced 2024-12-12 14:31:50 +01:00
22 lines
447 B
Nix
22 lines
447 B
Nix
|
{pkgs, lib, ...}:
|
||
|
{
|
||
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||
|
"steam"
|
||
|
"steam-original"
|
||
|
"steam-run"
|
||
|
];
|
||
|
|
||
|
|
||
|
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 = [
|
||
|
pkgs.steam-run
|
||
|
];
|
||
|
|
||
|
|
||
|
}
|