expose 1password SSH key password to batou
This commit is contained in:
		
							parent
							
								
									09cad34457
								
							
						
					
					
						commit
						68ccdd1b00
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -127,6 +127,7 @@ let
 | 
			
		|||
    #myNur.lolcommits # from NUR
 | 
			
		||||
    jq
 | 
			
		||||
    age
 | 
			
		||||
    _1password
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  nixHelpers = [
 | 
			
		||||
| 
						 | 
				
			
			@ -284,6 +285,10 @@ in
 | 
			
		|||
    #++ games
 | 
			
		||||
    ++ macosTools
 | 
			
		||||
  ;
 | 
			
		||||
  
 | 
			
		||||
  nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
 | 
			
		||||
             "1password-cli"
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  programs.home-manager.enable = true;
 | 
			
		||||
  #programs.home-manager.path = "$HOME/.nix-defexpr/channels/home-manager";
 | 
			
		||||
| 
						 | 
				
			
			@ -478,5 +483,6 @@ in
 | 
			
		|||
    };
 | 
			
		||||
    home.sessionVariables = {
 | 
			
		||||
      EDITOR = "nvim";
 | 
			
		||||
      BATOU_AGE_IDENTITY_PASSPHRASE="op://Private/SSH key/password";
 | 
			
		||||
    };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue