diff options
| author | Franck Cuny <franck@fcuny.net> | 2026-01-26 19:04:02 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2026-01-26 19:04:02 -0800 |
| commit | 65bb60c056d04e3c35bce3274bb8993049ce8cbc (patch) | |
| tree | 86fa6ad64c6d1bcfb325ac91a2c19710d38ad583 /modules/ssh.nix | |
| parent | run mpd on the framebox (diff) | |
| download | infra-65bb60c056d04e3c35bce3274bb8993049ce8cbc.tar.gz | |
add more hosts to ssh known hosts
Diffstat (limited to 'modules/ssh.nix')
| -rw-r--r-- | modules/ssh.nix | 31 |
1 files changed, 23 insertions, 8 deletions
diff --git a/modules/ssh.nix b/modules/ssh.nix index 793f04c..a1bc5af 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -1,13 +1,28 @@ { hostConfigurations, ... }: { programs.ssh.knownHosts = { - "github.com".publicKey = - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl"; - "builder".publicKey = hostConfigurations.framebox.publicKey; - "framebox".publicKey = hostConfigurations.framebox.publicKey; - "nas".publicKey = - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJxKNYU62aO7gvdq0TxLduyAGxYn6GvePAGevlRGrX/L"; - "192.168.1.68".publicKey = - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJxKNYU62aO7gvdq0TxLduyAGxYn6GvePAGevlRGrX/L"; + "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"; + }; }; } |
