From 6687e105ec8817d762cdcb70e85420b6c07f1d5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vili=20Sinerv=C3=A4?= Date: Sat, 11 Jan 2025 16:58:44 +0200 Subject: [PATCH] Attempt gamemode fix --- machine-confs/gaming.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/machine-confs/gaming.nix b/machine-confs/gaming.nix index 03052a7..f1269fb 100644 --- a/machine-confs/gaming.nix +++ b/machine-confs/gaming.nix @@ -15,7 +15,10 @@ enable = true; }; - users.users.vili.hashedPasswordFile = pkgs.lib.mkForce null; + users.users.vili = { + hashedPasswordFile = pkgs.lib.mkForce null; + extraGroups = [ "gamemode" ]; + }; swapDevices = pkgs.lib.mkForce [ {