added plugins to fish, not sure if all of them are working
This commit is contained in:
		
							parent
							
								
									21b52b08c3
								
							
						
					
					
						commit
						4838822fc7
					
				
					 7 changed files with 47 additions and 51 deletions
				
			
		|  | @ -1,13 +1,15 @@ | |||
| { lib, config, pkgs, ... }: | ||||
| 
 | ||||
| let | ||||
| { | ||||
|   lib, | ||||
|   config, | ||||
|   pkgs, | ||||
|   ... | ||||
| }: let | ||||
|   inherit (lib) types mkEnableOption mkIf; | ||||
|   inherit (lib.wyrdgard) mkOpt enabled; | ||||
| 
 | ||||
|   cfg = config.wyrdgard.tools.git; | ||||
|   user = config.wyrdgard.user; | ||||
| in | ||||
| { | ||||
| in { | ||||
|   options.wyrdgard.tools.git = { | ||||
|     enable = mkEnableOption "Git"; | ||||
|     userName = mkOpt types.str user.fullName "The name to configure git with."; | ||||
|  | @ -20,8 +22,8 @@ in | |||
|       inherit (cfg) userName userEmail; | ||||
|       lfs = enabled; | ||||
|       extraConfig = { | ||||
|         init = { defaultBranch = "main"; }; | ||||
|         push = { autoSetupRemote = true; }; | ||||
|         init = {defaultBranch = "main";}; | ||||
|         push = {autoSetupRemote = true;}; | ||||
|       }; | ||||
|     }; | ||||
|   }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue