Rpcs3: increase memlock limit
This commit is contained in:
parent
1de7abfc58
commit
84cbb13782
1 changed files with 8 additions and 0 deletions
|
|
@ -2,4 +2,12 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
environment.systemPackages = with pkgs; [ rpcs3 ];
|
environment.systemPackages = with pkgs; [ rpcs3 ];
|
||||||
|
|
||||||
|
# Increase the memory lock limit
|
||||||
|
security.pam.loginLimits = [{
|
||||||
|
domain = "*";
|
||||||
|
item = "memlock";
|
||||||
|
type = "-"; # Applies to both hard and soft limits
|
||||||
|
value = "unlimited";
|
||||||
|
}];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue