lambda: add permission for user to set niceness to any value

This commit is contained in:
Rachel Lambda Samuelsson 2023-09-03 10:22:13 +02:00
parent 5065b89d40
commit f5aa6d4c99

View File

@ -159,7 +159,6 @@
keepEnv = true; keepEnv = true;
}]; }];
}; };
# [USER / HOME MANAGER] # [USER / HOME MANAGER]
users.users.rachel = { users.users.rachel = {
isNormalUser = true; isNormalUser = true;
@ -171,6 +170,11 @@
"audio" "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 # This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions # settings for stateful data, like file locations and database versions