From b29437b310f7350ca528a067ee09f1ab4bf15e75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Sat, 11 Jan 2025 17:07:01 +0200 Subject: [PATCH] Attempt gamemode fix --- gaming.nix | 7 ++++--- machine-confs/gaming.nix | 5 +---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/gaming.nix b/gaming.nix index 92c9992..48c09d6 100644 --- a/gaming.nix +++ b/gaming.nix @@ -7,13 +7,14 @@ } ]; - services.tlp.enable = true; - programs = { steam = { enable = true; extraCompatPackages = [ pkgs.proton-ge-bin ]; }; - gamemode.enable = true; + gamemode = { + enable = true; + settings.general.desiredgov = ""; + }; }; } diff --git a/machine-confs/gaming.nix b/machine-confs/gaming.nix index f1269fb..03052a7 100644 --- a/machine-confs/gaming.nix +++ b/machine-confs/gaming.nix @@ -15,10 +15,7 @@ enable = true; }; - users.users.vili = { - hashedPasswordFile = pkgs.lib.mkForce null; - extraGroups = [ "gamemode" ]; - }; + users.users.vili.hashedPasswordFile = pkgs.lib.mkForce null; swapDevices = pkgs.lib.mkForce [ {