From 480fe8173fd8870baf2bceb31bf52951221966fd Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Sat, 7 Feb 2026 20:57:00 -0700 Subject: [PATCH] 1770523020 --- modules/home/ssh.nix | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/modules/home/ssh.nix b/modules/home/ssh.nix index 692b3d7..f1fe35d 100644 --- a/modules/home/ssh.nix +++ b/modules/home/ssh.nix @@ -2,23 +2,22 @@ { programs.ssh = { - enable = true; - matchBlocks = { - "localhost" = { - extraOptions.UserKnownHostsFile = "/dev/null"; - }; - "tux" = { - hostname = "tuxworld.usask.ca"; - user = "atl175"; - }; - "haschel" = { - hostname = "haschel"; - user = "fedora"; - }; - "lloyd" = { - hostname = "lloyd"; - user = "truenas_admin"; - }; - }; + enable = true; + extraConfig = " + Host localhost + UserKnownHostsFile /dev/null + + Host tux + HostName tuxworld.usask.ca + User atl175 + + Host haschel + HostName haschel + User fedora + + Host lloyd + HostName lloyd + User truenas_admin + "; }; }