Added steam

This commit is contained in:
xeovalyte 2024-03-17 10:00:27 +01:00
parent 6305cf7903
commit 7e82f983e7
No known key found for this signature in database
3 changed files with 18 additions and 0 deletions

View File

@ -9,6 +9,7 @@
../../modules/system/programs/sunshine.nix
../../modules/system/programs/syncthing.nix
../../modules/system/programs/thunar.nix
../../modules/system/programs/steam.nix
../../modules/system/utils/common.nix
../../modules/system/utils/firewall.nix
#../../modules/system/utils/fprint.nix

View File

@ -5,6 +5,7 @@
"nvidia-x11"
"nvidia-settings"
];
hardware.opengl = {
enable = true;
driSupport = true;

View File

@ -0,0 +1,16 @@
{ config, lib, nixpkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-run"
];
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
}