Increase locked memory to 1 GiB
This commit is contained in:
		
							parent
							
								
									be69070f61
								
							
						
					
					
						commit
						a5a0fd9b6f
					
				| @ -22,6 +22,16 @@ | |||||||
|     serviceConfig.Restart = "always"; |     serviceConfig.Restart = "always"; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  |   # Increase limits | ||||||
|  |   security.pam.loginLimits = [ | ||||||
|  |     { | ||||||
|  |       domain = "*"; | ||||||
|  |       type = "-"; | ||||||
|  |       item = "memlock"; | ||||||
|  |       value = "1048576"; # 1 GiB of mem locked | ||||||
|  |     } | ||||||
|  |   ]; | ||||||
|  | 
 | ||||||
|   time.timeZone = "Europe/Madrid"; |   time.timeZone = "Europe/Madrid"; | ||||||
|   i18n.defaultLocale = "en_DK.UTF-8"; |   i18n.defaultLocale = "en_DK.UTF-8"; | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user