diff options
Diffstat (limited to 'hosts/nepsis')
| -rw-r--r-- | hosts/nepsis/configuration.nix | 42 |
1 files changed, 28 insertions, 14 deletions
diff --git a/hosts/nepsis/configuration.nix b/hosts/nepsis/configuration.nix index bfff0bd..e5d503d 100644 --- a/hosts/nepsis/configuration.nix +++ b/hosts/nepsis/configuration.nix @@ -17,6 +17,34 @@ networking.hostName = "nepsis"; # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. + programs.ssh = { + knownHosts = { + homelab = { + extraHostNames = ["192.168.1.120"]; + publicKeyFile = ./../../pubkeys/homelab_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 + ''; + }; + # Configure network proxy if necessary # networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain"; @@ -63,20 +91,6 @@ }; }; - programs.ssh = { - 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 - ''; - }; - programs.steam = { enable = true; remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play |
