refactor(flake-parts): initial flake-parts configuration
This commit is contained in:
		
							parent
							
								
									8f67be9e68
								
							
						
					
					
						commit
						5603001d65
					
				
					 230 changed files with 380 additions and 717 deletions
				
			
		
							
								
								
									
										25
									
								
								inputs/home/modules/console/utility/git/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								inputs/home/modules/console/utility/git/default.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,25 @@
 | 
			
		|||
{ pkgs, config, lib, ... }:
 | 
			
		||||
  let 
 | 
			
		||||
    cfg = config.homeModules.console.utility.git;
 | 
			
		||||
  in
 | 
			
		||||
{ 
 | 
			
		||||
  config = lib.mkIf cfg.enable {
 | 
			
		||||
    programs.git = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      package = pkgs.gitAndTools.gitFull;
 | 
			
		||||
      userName = "ooks-io";
 | 
			
		||||
      userEmail = "ooks@protonmail.com";
 | 
			
		||||
      extraConfig = {
 | 
			
		||||
        gpg."ssh".program = "${pkgs._1password-gui}/bin/op-ssh-sign";
 | 
			
		||||
      };
 | 
			
		||||
      ignores = [ ".direnv" "result" ];
 | 
			
		||||
      lfs.enable = true;
 | 
			
		||||
    };
 | 
			
		||||
  
 | 
			
		||||
    home.packages = with pkgs; [
 | 
			
		||||
      git-credential-1password
 | 
			
		||||
      lazygit
 | 
			
		||||
    ];
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue