hosts: add ooksmedia
This commit is contained in:
		
							parent
							
								
									f3895ce019
								
							
						
					
					
						commit
						10816d1a0a
					
				
					 10 changed files with 301 additions and 27 deletions
				
			
		|  | @ -12,7 +12,7 @@ in { | |||
|       default = "ooks-generic"; | ||||
|     }; | ||||
|     type = mkOption { | ||||
|       type = enum ["desktop" "laptop"]; | ||||
|       type = enum ["vm" "desktop" "laptop"]; | ||||
|     }; | ||||
|     role = mkOption { | ||||
|       type = enum ["workstation" "server"]; | ||||
|  |  | |||
							
								
								
									
										22
									
								
								modules/nixos/server/services/forgejo/options.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								modules/nixos/server/services/forgejo/options.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,22 @@ | |||
| { | ||||
|   lib, | ||||
|   config, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (config.services) forgejo; | ||||
|   inherit (lib) mkEnableOption mkOption; | ||||
|   inherit (lib.types) str; | ||||
|   mkColorOption = description: | ||||
|     mkOption { | ||||
|       type = str; | ||||
|       default = ""; | ||||
|       inherit description; | ||||
|     }; | ||||
| in { | ||||
|   options.ooknet.server.forgejo.customTheme = { | ||||
|     enable = mkEnableOption; | ||||
|     light = { | ||||
|       primary = mkColorOption; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue