diff options
| author | Skullheadx <admonty1@gmail.com> | 2026-06-28 23:51:21 -0400 |
|---|---|---|
| committer | Skullheadx <admonty1@gmail.com> | 2026-06-28 23:51:21 -0400 |
| commit | f9446d970be5513ac1f7cedaf209c40463fe5725 (patch) | |
| tree | 36f45710d15ce9cad44edf1aa835dfd35c2fdd3a /hosts/bear/configuration.nix | |
| parent | fix flake (diff) | |
| download | nixos-f9446d970be5513ac1f7cedaf209c40463fe5725.tar.gz nixos-f9446d970be5513ac1f7cedaf209c40463fe5725.tar.bz2 nixos-f9446d970be5513ac1f7cedaf209c40463fe5725.zip | |
ssh config for darwin
Diffstat (limited to '')
| -rw-r--r-- | hosts/bear/configuration.nix | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/hosts/bear/configuration.nix b/hosts/bear/configuration.nix index bf9c10d..33fac99 100644 --- a/hosts/bear/configuration.nix +++ b/hosts/bear/configuration.nix @@ -20,6 +20,44 @@ mpv ]; + programs.ssh = { + knownHosts = { + homelab = { + extraHostNames = ["192.168.1.120"]; + publicKeyFile = ./../../pubkeys/homelab_ssh.pub; + }; + desktop = { + extraHostNames = ["192.168.1.122"]; + publicKeyFile = ./../../pubkeys/desktop_ssh.pub; + }; + vps = { + extraHostNames = ["170.205.37.7"]; + publicKeyFile = ./../../pubkeys/vps_ssh.pub; + }; + github = { + extraHostNames = ["github.com"]; + publicKeyFile = ./../../pubkeys/github_ssh.pub; + }; + }; + extraConfig = '' + Host git-vps + HostName git.skullheadx.com + Port 2222 + User git + Host git.skullheadx.com + HostName localhost + Port 2223 + User git + ProxyJump git-vps + Host homelab + HostName 192.168.1.120 + Port 22 + Host vps + Hostname 170.205.37.7 + Port 2222 + ''; + }; + homebrew = { enable = true; user = "andrewmontgomery"; |
