about summary refs log tree commit diff
path: root/configs/shared/.config/nixpkgs/home.nix
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-03-05T14·22+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-03-05T15·04+0000
commitdf035ca832ea9ec152743e8c594b211bcf20a086 (patch)
tree4fd1e0372fa2cfb2440854d462618b804310a901 /configs/shared/.config/nixpkgs/home.nix
parent86e1b82d2de410c650e96f0f2ed47987be1db72a (diff)
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.
Diffstat (limited to 'configs/shared/.config/nixpkgs/home.nix')
-rw-r--r--configs/shared/.config/nixpkgs/home.nix14
1 files changed, 14 insertions, 0 deletions
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
   ##############################################################################