summaryrefslogtreecommitdiffstats
path: root/hosts/bear
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--hosts/bear/configuration.nix38
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";