From efd96e604ce372b8a43e9ed75381d6c39cb197b3 Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Thu, 15 Apr 2021 18:57:39 -0400 Subject: [PATCH] ssh alias --- home.nix | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/home.nix b/home.nix index 9ccc3fb..0be8f8d 100644 --- a/home.nix +++ b/home.nix @@ -117,8 +117,7 @@ in h = "${himalaya}/bin/himalaya"; em = "TERM=xterm-direct emacs -nw"; }; - sessionVariables = { - }; + sessionVariables = { }; }; starship = { @@ -131,6 +130,15 @@ in jq.enable = true; }; + programs.ssh = { + enable = true; + matchBlocks = { + "p71" = { + hostname = "192.168.2.24"; + }; + }; + }; + # This value determines the Home Manager release that your # configuration is compatible with. This helps avoid breakage # when a new Home Manager release introduces backwards