From 523d6aff35d4d4235394503eb3dd09081f0e3d9e Mon Sep 17 00:00:00 2001 From: serenity-F Date: Fri, 15 Nov 2024 22:29:06 +1000 Subject: [PATCH] added 'gamemode' --- core/gaming.nix | 9 ++++++++- home/users/default.nix | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/core/gaming.nix b/core/gaming.nix index 8f36a70..bafcc70 100644 --- a/core/gaming.nix +++ b/core/gaming.nix @@ -29,8 +29,13 @@ }; programs = { - ## I wanted this in the user-level area + ## "GameMode" + gamemode = { + enable = true; + }; + + ## Gamescope compositor for steam gamescope = { enable = true; capSysNice = true; @@ -40,6 +45,7 @@ ]; }; + ## Steam itself steam = { enable = true; gamescopeSession = { @@ -66,6 +72,7 @@ extraPackages = with pkgs; [ gamescope ]; + ## Gotta have the glorious eggroll extraCompatPackages = with pkgs; [ proton-ge-bin ]; diff --git a/home/users/default.nix b/home/users/default.nix index edae7b7..68a0f1a 100644 --- a/home/users/default.nix +++ b/home/users/default.nix @@ -21,6 +21,7 @@ extraGroups = [ "wheel" "networkmanager" + "gamemode" ]; ## be sure to change this with 'passwd' initialPassword = "password";