add: system modules and options
This commit is contained in:
		
							parent
							
								
									9bfc70318d
								
							
						
					
					
						commit
						47eb3e0691
					
				
					 21 changed files with 269 additions and 158 deletions
				
			
		|  | @ -1,3 +1,5 @@ | |||
| { lib, ... }: | ||||
| 
 | ||||
| { | ||||
|   imports = [ | ||||
|     ./hardware | ||||
|  | @ -6,4 +8,17 @@ | |||
|     ./programs | ||||
|     ./user | ||||
|   ]; | ||||
| 
 | ||||
| 
 | ||||
|   options.systemModules = { | ||||
|     security = { | ||||
|       enable = lib.mkEnableOption "Enable security module"; | ||||
|     }; | ||||
|     bootloader = { | ||||
|       enable = lib.mkEnableOption "Enable systemd bootloader module"; | ||||
|     }; | ||||
|     pipewire = { | ||||
|       enable = lib.mkEnableOption "Enable pipewire module"; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue