20 lines
518 B
Nix
20 lines
518 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
environment.systemPackages = with config; [
|
|
nur.repos.ataraxiasjel.rpcs3
|
|
];
|
|
# Compiling RPCS3 takes quite a while
|
|
nix.settings = {
|
|
substituters = [ "https://ataraxiadev-foss.cachix.org" ];
|
|
trusted-public-keys = [ "ataraxiadev-foss.cachix.org-1:ws/jmPRUF5R8TkirnV1b525lP9F/uTBsz2KraV61058=" ];
|
|
};
|
|
|
|
# Increase the memory lock limit
|
|
security.pam.loginLimits = [{
|
|
domain = "*";
|
|
item = "memlock";
|
|
type = "-"; # Applies to both hard and soft limits
|
|
value = "unlimited";
|
|
}];
|
|
}
|