From df035ca832ea9ec152743e8c594b211bcf20a086 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Thu, 5 Mar 2020 14:22:32 +0000 Subject: Use home-manager to support SSH I didn't port everything from .ssh/config to home-manager. I omitted a few hosts that I don't connect to anymore. I also omitted the `corp-ssh-helper` configuration. --- configs/shared/.config/nixpkgs/home.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'configs/shared/.config/nixpkgs/home.nix') diff --git a/configs/shared/.config/nixpkgs/home.nix b/configs/shared/.config/nixpkgs/home.nix index 8a016419bf18..f87b0dfb7cfb 100644 --- a/configs/shared/.config/nixpkgs/home.nix +++ b/configs/shared/.config/nixpkgs/home.nix @@ -43,6 +43,20 @@ }; }; + programs.ssh = { + enable = true; + matchBlocks = { + desktop = { + user = "wpcarro"; + hostname = "zeno.lon.corp.google.com"; + }; + socrates = { + user = "wpcarro"; + hostname = "84.92.33.141"; + }; + }; + }; + ############################################################################## # Services ############################################################################## -- cgit 1.4.1