mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
34 lines
518 B
Nix
34 lines
518 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
|
|
{
|
|
programs.steam = {
|
|
enable = true;
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = true;
|
|
extest.enable = false;
|
|
protontricks.enable = true;
|
|
|
|
extraCompatPackages = with pkgs; [
|
|
proton-ge-bin
|
|
];
|
|
|
|
gamescopeSession = {
|
|
enable = true;
|
|
args = [
|
|
"--fullscreen"
|
|
"--force-grab-cursor"
|
|
];
|
|
};
|
|
};
|
|
|
|
programs.gamescope = {
|
|
enable = true;
|
|
capSysNice = true;
|
|
};
|
|
|
|
hardware.steam-hardware.enable = true;
|
|
}
|