diff --git a/modules/programs/git.nix b/modules/programs/git.nix index 593cb83..5917f2e 100644 --- a/modules/programs/git.nix +++ b/modules/programs/git.nix @@ -49,12 +49,6 @@ init.defaultBranch = "main"; - # Preserve compatibility with Knot remote forms. - url."tangled.org:".insteadOf = [ - "git@knot.zezura.xyz:" - "knot:" - ]; - # keep-sorted start commit.gpgsign = true; tag.gpgSign = true; diff --git a/modules/programs/ssh.nix b/modules/programs/ssh.nix index dc1d229..30adb42 100644 --- a/modules/programs/ssh.nix +++ b/modules/programs/ssh.nix @@ -22,13 +22,18 @@ IdentityFile = "~/.ssh/git"; }; - "tangled.org" = { + "knot.${groundDomain}" = { HostName = "knot.${groundDomain}"; IdentityFile = "~/.ssh/git"; Port = 2223; User = "git"; }; + "tangled.org" = { + HostName = "tangled.org"; + IdentityFile = "~/.ssh/git"; + }; + euclid = { HostKeyAlias = "euclid.${groundDomain}"; HostName = "127.0.0.1";