this works
This commit is contained in:
		
						commit
						851cb6fe38
					
				
					 7 changed files with 433 additions and 0 deletions
				
			
		
							
								
								
									
										15
									
								
								modules/nixos/snowfall/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								modules/nixos/snowfall/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,15 @@ | |||
| { | ||||
|   lib, | ||||
|   config, | ||||
|   ... | ||||
| }: let | ||||
|   cfg = config.snowfallorg.example; | ||||
| in { | ||||
|   options.snowfallorg.example = { | ||||
|     enable = lib.mkEnableOption "Snowfall Example"; | ||||
|   }; | ||||
| 
 | ||||
|   config = lib.mkIf cfg.enable { | ||||
|     environment.variables = {SNOWFALLORG_EXAMPLE = "enabled";}; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue