forked from jan-leila/nix-config
		
	re enabled ssh agent IdentityFile
This commit is contained in:
		
							parent
							
								
									2e41153c43
								
							
						
					
					
						commit
						5e0bf9f068
					
				
					 1 changed files with 8 additions and 8 deletions
				
			
		|  | @ -41,14 +41,14 @@ | ||||||
|     ( |     ( | ||||||
|       lib.mkIf ((builtins.length config.programs.openssh.hostKeys) != 0) { |       lib.mkIf ((builtins.length config.programs.openssh.hostKeys) != 0) { | ||||||
|         services.ssh-agent.enable = true; |         services.ssh-agent.enable = true; | ||||||
|         # programs.ssh = { |         programs.ssh = { | ||||||
|         #   enable = true; |           enable = true; | ||||||
|         #   compression = true; |           compression = true; | ||||||
|         #   addKeysToAgent = "confirm"; |           addKeysToAgent = "confirm"; | ||||||
|         #   extraConfig = lib.strings.concatLines ( |           extraConfig = lib.strings.concatLines ( | ||||||
|         #     builtins.map (hostKey: "IdentityFile ~/.ssh/${hostKey.path}") config.programs.openssh.hostKeys |             builtins.map (hostKey: "IdentityFile ~/.ssh/${hostKey.path}") config.programs.openssh.hostKeys | ||||||
|         #   ); |           ); | ||||||
|         # }; |         }; | ||||||
| 
 | 
 | ||||||
|         systemd.user.services = builtins.listToAttrs ( |         systemd.user.services = builtins.listToAttrs ( | ||||||
|           builtins.map (hostKey: |           builtins.map (hostKey: | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue