refactor(systemModule:security): split into modules and add kernel hardening
This commit is contained in:
		
							parent
							
								
									2c25c8c762
								
							
						
					
					
						commit
						3a91848085
					
				
					 6 changed files with 322 additions and 53 deletions
				
			
		
							
								
								
									
										23
									
								
								system/modules/security/pam/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								system/modules/security/pam/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | |||
| { | ||||
|   security = { | ||||
|     pam = { | ||||
|       loginLimits = [ | ||||
|         { | ||||
|           domain = "@wheel"; | ||||
|           item = "nofile"; | ||||
|           type = "soft"; | ||||
|           value = "524288"; | ||||
|         } | ||||
|         { | ||||
|           domain = "@wheel"; | ||||
|           item = "nofile"; | ||||
|           type = "hard"; | ||||
|           value = "1048576"; | ||||
|         } | ||||
|       ]; | ||||
|       services = { | ||||
|         hyprlock = {}; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue