Refactor gamescope

This commit is contained in:
Pedro Rey Anca 2025-12-06 13:20:09 +01:00
parent 7278337adb
commit 11f8b66b91
Signed by: peprolinbot
GPG key ID: 053EA6E00116533A
2 changed files with 17 additions and 2 deletions

View file

@ -1,12 +1,16 @@
{ pkgs, lib, ... }:
{ lib, ... }:
{
programs.steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = false;
gamescopeSession.enable = true;
};
environment.systemPackages = [ pkgs.gamescope ];
programs.gamescope = {
enable = true;
capSysNice = true;
};
programs.gamemode.enable = true;