diff --git a/hosts/backwards/modules/ssh/default.nix b/hosts/backwards/modules/ssh/default.nix index 4bce9ab..ef0ae92 100644 --- a/hosts/backwards/modules/ssh/default.nix +++ b/hosts/backwards/modules/ssh/default.nix @@ -21,31 +21,32 @@ in home-manager.users.alex = { programs.ssh = { enable = true; + enableDefaultConfig = false; - matchBlocks = { + settings = { "manatee" = { - hostname = "manatee"; - user = "alex"; - identityFile = "/home/alex/.ssh/alex.backwards-manatee"; - port = 1122; + HostName = "manatee"; + User = "alex"; + IdentityFile = "/home/alex/.ssh/alex.backwards-manatee"; + Port = 1122; }; "git.ppp.pm" = { - hostname = "git.ppp.pm"; - identityFile = "/home/alex/.ssh/alex.backwards-git.ppp.pm"; + HostName = "git.ppp.pm"; + IdentityFile = "/home/alex/.ssh/alex.backwards-git.ppp.pm"; }; "*" = { - forwardAgent = false; - addKeysToAgent = "no"; - compression = false; - serverAliveInterval = 0; - serverAliveCountMax = 3; - hashKnownHosts = false; - userKnownHostsFile = "~/.ssh/known_hosts"; - controlMaster = "no"; - controlPath = "~/.ssh/master-%r@%n:%p"; - controlPersist = "no"; + ForwardAgent = false; + AddKeysToAgent = "no"; + Compression = false; + ServerAliveInterval = 0; + ServerAliveCountMax = 3; + HashKnownHosts = false; + UserKnownHostsFile = "~/.ssh/known_hosts"; + ControlMaster = "no"; + ControlPath = "~/.ssh/master-%r@%n:%p"; + ControlPersist = "no"; }; }; };