19 lines
		
	
	
	
		
			286 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
	
		
			286 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
{ lib, config, ... }:
 | 
						|
 | 
						|
let
 | 
						|
  cfg = config.homeModules.console.utility.ssh;
 | 
						|
in
 | 
						|
 | 
						|
{
 | 
						|
 | 
						|
  config = lib.mkIf cfg.enable {
 | 
						|
    programs.ssh = {
 | 
						|
      enable = true;
 | 
						|
      extraConfig = /* config */''
 | 
						|
        Host *
 | 
						|
            IdentityAgent "~/.1password/agent.sock"
 | 
						|
      '';
 | 
						|
    };
 | 
						|
  };
 | 
						|
  
 | 
						|
}
 |