mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-08 11:41:14 +00:00
Deduplicate steam
This commit is contained in:
5
modules/application-groups/gaming.nix
Normal file
5
modules/application-groups/gaming.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{ ... }: {
|
||||
imports = [
|
||||
../applications/steam.nix
|
||||
];
|
||||
}
|
||||
17
modules/applications/steam.nix
Normal file
17
modules/applications/steam.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
hardware.steam-hardware.enable = true;
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
|
||||
programs.gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user