to be continued
This commit is contained in:
		
							parent
							
								
									030f251ce9
								
							
						
					
					
						commit
						fcaa48df90
					
				
					 8 changed files with 255 additions and 36 deletions
				
			
		
							
								
								
									
										20
									
								
								modules/nixos/tools/direnv/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								modules/nixos/tools/direnv/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| { options, config, lib, pkgs, ... }: | ||||
| 
 | ||||
| with lib; | ||||
| with lib.wyrdgard; | ||||
| let cfg = config.wyrdgard.tools.direnv; | ||||
| in | ||||
| { | ||||
|   options.wyrdgard.tools.direnv = with types; { | ||||
|     enable = mkBoolOpt false "Whether or not to enable direnv."; | ||||
|   }; | ||||
| 
 | ||||
|   config = mkIf cfg.enable { | ||||
|     wyrdgard.home.extraOptions = { | ||||
|       programs.direnv = { | ||||
|         enable = true; | ||||
|         nix-direnv = enabled; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 christoph.hollizeck
						christoph.hollizeck