Added steam
This commit is contained in:
parent
6305cf7903
commit
7e82f983e7
@ -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
|
||||
|
@ -5,6 +5,7 @@
|
||||
"nvidia-x11"
|
||||
"nvidia-settings"
|
||||
];
|
||||
|
||||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
|
16
modules/system/programs/steam.nix
Normal file
16
modules/system/programs/steam.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user