34 lines
656 B
Nix
34 lines
656 B
Nix
{ ... }: {
|
|
den.aspects.steam = {
|
|
nixos = { pkgs, ... }: {
|
|
programs = {
|
|
steam = {
|
|
enable = true;
|
|
|
|
remotePlay.openFirewall = true;
|
|
dedicatedServer.openFirewall = false;
|
|
|
|
localNetworkGameTransfers.openFirewall = true;
|
|
|
|
gamescopeSession.enable = true;
|
|
|
|
extraCompatPackages = with pkgs; [
|
|
proton-ge-bin
|
|
];
|
|
|
|
#platformOptimizations.enable = true;
|
|
};
|
|
|
|
gamescope = {
|
|
enable = true;
|
|
capSysNice = true;
|
|
|
|
args = [
|
|
"--rt"
|
|
"--expose-wayland"
|
|
];
|
|
};
|
|
};
|
|
};
|
|
};
|
|
} |