feat(x86_64-linux): increase file descriptor and memory limits
Added configuration to increase the system-wide file descriptor limit and memory lock limit. This change involves updating systemd and PAM settings to enhance resource management.
This commit is contained in:
		
							parent
							
								
									96aa5953e6
								
							
						
					
					
						commit
						d2f9061752
					
				
					 1 changed files with 7 additions and 0 deletions
				
			
		|  | @ -47,5 +47,12 @@ with lib.metacfg; | |||
| 
 | ||||
|   services.trezord.enable = true; | ||||
| 
 | ||||
|   systemd.user.extraConfig = "DefaultLimitNOFILE=32000"; | ||||
| 
 | ||||
|   security.pam.loginLimits = [ | ||||
|     { domain = "*"; item = "nofile"; type = "-"; value = "32768"; } | ||||
|     { domain = "*"; item = "memlock"; type = "-"; value = "32768"; } | ||||
|   ]; | ||||
| 
 | ||||
|   system.stateVersion = "23.11"; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue