gayming
This commit is contained in:
parent
c443dc94ba
commit
da78fcde3f
2 changed files with 23 additions and 3 deletions
nix
|
@ -41,7 +41,6 @@
|
|||
wl-clip-persist
|
||||
wl-mirror
|
||||
# gaming
|
||||
gamescope
|
||||
prismlauncher
|
||||
wine
|
||||
# social
|
||||
|
|
|
@ -1,5 +1,26 @@
|
|||
{ ... }:
|
||||
{ lib, ... }:
|
||||
|
||||
{
|
||||
programs.steam.enable = true;
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"steam"
|
||||
"steam-original"
|
||||
"steam-runtime"
|
||||
];
|
||||
|
||||
programs.gamescope = {
|
||||
enable = true;
|
||||
capSysNice = true;
|
||||
};
|
||||
|
||||
programs.steam = {
|
||||
enable = true;
|
||||
remotePlay.openFirewall = true;
|
||||
dedicatedServer.openFirewall = true;
|
||||
localNetworkGameTransfers.openFirewall = true;
|
||||
gamescopeSession.enable = true;
|
||||
};
|
||||
|
||||
# controllers
|
||||
hardware.xone.enable = true;
|
||||
hardware.steam-hardware.enable = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue