mirror of
				https://github.com/Jokiller230/puzzlevision.git
				synced 2025-10-31 22:00:05 +00:00 
			
		
		
		
	feat(modules/home): add module for user configuration
This commit is contained in:
		
							parent
							
								
									3dd6107871
								
							
						
					
					
						commit
						e6e85a9310
					
				
					 1 changed files with 16 additions and 0 deletions
				
			
		
							
								
								
									
										16
									
								
								modules/home/user/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								modules/home/user/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,16 @@ | |||
| { | ||||
|   lib, | ||||
|   namespace, | ||||
|   ... | ||||
| }: | ||||
| let | ||||
|   inherit (lib.${namespace}) mkOpt; | ||||
| in | ||||
| { | ||||
|   options.${namespace}.user = with lib.types; { | ||||
|     name = mkOpt str "Jo" "The user's short name."; | ||||
|     fullName = mkOpt str "Johannes Reckers" "The user's full name."; | ||||
|     email = mkOpt str "reckers.johannes@proton.me" "The user's primary E-Mail address."; | ||||
|     icon = mkOpt str "./icon.jpg" "The path to the users prefered icon."; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue