Skip to content

Instantly share code, notes, and snippets.

@lovek323
Created February 19, 2019 00:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lovek323/f912d2838c5da73361751499ff3822ad to your computer and use it in GitHub Desktop.
Save lovek323/f912d2838c5da73361751499ff3822ad to your computer and use it in GitHub Desktop.
Setting ulimits on nixos
security = {
pam.loginLimits = [{
domain = "*";
type = "hard";
item = "nofile";
value = "1048576";
}];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment