Skip to content

Commit

Permalink
update ulimits for polaris
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Jan 8, 2025
1 parent 73a958b commit ef55fc5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hosts/polaris/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -105,4 +105,8 @@ in
enable32Bit = true;
};
};
security.pam.loginLimits = [
{ domain = "*"; item = "nofile"; type = "-"; value = "131072"; }
{ domain = "*"; item = "memlock"; type = "hard"; value = "unlimited"; }
];
}

0 comments on commit ef55fc5

Please sign in to comment.