Rpcs3: increase memlock limit

This commit is contained in:
Toast 2023-09-27 00:02:00 +02:00
parent 1de7abfc58
commit 84cbb13782

View file

@ -2,4 +2,12 @@
{
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";
}];
}