diff --git a/hosts/tadpole/modules/ssh/default.nix b/hosts/tadpole/modules/ssh/default.nix index dbaba29..59bdeda 100644 --- a/hosts/tadpole/modules/ssh/default.nix +++ b/hosts/tadpole/modules/ssh/default.nix @@ -21,24 +21,25 @@ in home-manager.users.alex = { programs.ssh = { enable = true; + enableDefaultConfig = false; - matchBlocks = { + settings = { "git.ppp.pm" = { - hostname = "git.ppp.pm"; - identityFile = "/home/alex/.ssh/alex.tadpole-git.ppp.pm"; + HostName = "git.ppp.pm"; + IdentityFile = "/home/alex/.ssh/alex.tadpole-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"; }; }; };