diff --git a/roles/gaming/rpcs3.nix b/roles/gaming/rpcs3.nix index 43b80d0..931b7ba 100644 --- a/roles/gaming/rpcs3.nix +++ b/roles/gaming/rpcs3.nix @@ -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"; + }]; }