lambda: add permission for user to set niceness to any value
This commit is contained in:
parent
5065b89d40
commit
f5aa6d4c99
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user