aboutsummaryrefslogtreecommitdiff
path: root/modules/ssh.nix
blob: a1bc5afbb6a4c8b239835237259f1bbca491f583 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{ hostConfigurations, ... }:
{
  programs.ssh.knownHosts = {
    "github.com" = {
      publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl";
    };
    "framebox" = {
      hostNames = [
        "framebox"
        "192.168.1.114"
        "10.100.0.60"
        "builder"
      ];
      publicKey = hostConfigurations.framebox.publicKey;
    };
    "vps" = {
      hostNames = [ "fcuny.net" ];
      publicKey = hostConfigurations.argonath.publicKey;
    };
    "nas" = {
      hostNames = [
        "nas"
        "192.168.1.68"
      ];
      publicKey = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJxKNYU62aO7gvdq0TxLduyAGxYn6GvePAGevlRGrX/L";
    };
  };
}