diff --git a/lambda/configuration.nix b/lambda/configuration.nix index 34acfc9..5a3efad 100644 --- a/lambda/configuration.nix +++ b/lambda/configuration.nix @@ -159,7 +159,6 @@ keepEnv = true; }]; }; - # [USER / HOME MANAGER] users.users.rachel = { isNormalUser = true; @@ -171,6 +170,11 @@ "audio" ]; }; + # Done for gamemoderun + security.pam.loginLimits = [ + { domain = "rachel"; item = "nice"; "type" = "soft"; value = "-20"; } + { domain = "rachel"; item = "nice"; "type" = "hard"; value = "-20"; } + ]; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions