Skip to content

Commit

Permalink
ssh: consolidate known hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Jan 5, 2025
1 parent 956516b commit 331a4f2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 9 deletions.
9 changes: 0 additions & 9 deletions modules/shared/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,5 @@ in
use-xdg-base-directories = true;
};
};

programs.ssh.knownHosts = {
"darwin-build-box.nix-community.org".publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKMHhlcn7fUpUuiOFeIhDqBzBNFsbNqq+NpzuGX3e6zv";
"khanelimac".publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJAZIwy7nkz8CZYR/ZTSNr+7lRBW2AYy1jw06b44zaID";
"khanelinix".publicKey =
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFuMXeT21L3wnxnuzl0rKuE5+8inPSi8ca/Y3ll4s9pC";
};
};
}
24 changes: 24 additions & 0 deletions modules/shared/programs/terminal/tools/ssh/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,30 @@ in
hostNames = [ "git.sr.ht" ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIMZvRd4EtM7R+IHVMWmDkVU3VLQTSwQDSAvW0t2Tkj60";
};

# Community builders
"darwin-build-box.nix-community.org" = {
hostnames = [ "darwin-build-box.nix-community.org" ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKMHhlcn7fUpUuiOFeIhDqBzBNFsbNqq+NpzuGX3e6zv";
};

# Local Hosts
khanelimac = {
hostnames = [ "khanelimac.local" ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJAZIwy7nkz8CZYR/ZTSNr+7lRBW2AYy1jw06b44zaID";
};
"khaneliman@khanelimac" = {
hostnames = [ "khanelimac.local" ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBG8l3jQ2EPLU+BlgtaQZpr4xr97n2buTLAZTxKHSsD";
};
"khaneliman@khanelinix" = {
hostnames = [ "khanelinix.local" ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFuMXeT21L3wnxnuzl0rKuE5+8inPSi8ca/Y3ll4s9pC";
};
"khanelinix" = {
hostnames = [ "khanelinix.local" ];
publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKEilFPAgSUwW3N7PTvdTqjaV2MD3cY2oZGKdaS7ndKB";
};
};
};

Expand Down

0 comments on commit 331a4f2

Please sign in to comment.