added 'gamemode'

This commit is contained in:
serenity-F 2024-11-15 22:29:06 +10:00
parent fa12e38b7a
commit 523d6aff35
No known key found for this signature in database
2 changed files with 9 additions and 1 deletions

View file

@ -29,8 +29,13 @@
}; };
programs = { programs = {
## I wanted this in the user-level area
## "GameMode"
gamemode = {
enable = true;
};
## Gamescope compositor for steam
gamescope = { gamescope = {
enable = true; enable = true;
capSysNice = true; capSysNice = true;
@ -40,6 +45,7 @@
]; ];
}; };
## Steam itself
steam = { steam = {
enable = true; enable = true;
gamescopeSession = { gamescopeSession = {
@ -66,6 +72,7 @@
extraPackages = with pkgs; [ extraPackages = with pkgs; [
gamescope gamescope
]; ];
## Gotta have the glorious eggroll
extraCompatPackages = with pkgs; [ extraCompatPackages = with pkgs; [
proton-ge-bin proton-ge-bin
]; ];

View file

@ -21,6 +21,7 @@
extraGroups = [ extraGroups = [
"wheel" "wheel"
"networkmanager" "networkmanager"
"gamemode"
]; ];
## be sure to change this with 'passwd' ## be sure to change this with 'passwd'
initialPassword = "password"; initialPassword = "password";