This commit is contained in:
Murphy 2025-02-03 10:03:09 -05:00
parent c443dc94ba
commit da78fcde3f
Signed by: freya
GPG key ID: 9FBC6FFD6D2DBF17
2 changed files with 23 additions and 3 deletions
nix
home
programs/steam

View file

@ -41,7 +41,6 @@
wl-clip-persist
wl-mirror
# gaming
gamescope
prismlauncher
wine
# social

View file

@ -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;
}