mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 06:30:18 +02:00
34 lines
611 B
Nix
34 lines
611 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = true;
|
|
|
|
nixpkgs.config.allowUnfreePredicate =
|
|
pkg:
|
|
builtins.elem (lib.getName pkg) [
|
|
"steam"
|
|
"steam-original"
|
|
"steam-run"
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
lutris
|
|
];
|
|
systemd.extraConfig = "DefaultLimitNOFILE=524288";
|
|
security.pam.loginLimits = [
|
|
{
|
|
domain = "misschloe777";
|
|
type = "hard";
|
|
item = "nofile";
|
|
value = "524288";
|
|
}
|
|
];
|
|
};
|
|
}
|