diff options
| author | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-26 22:02:20 -0600 |
|---|---|---|
| committer | Collin Williams <96917990+bluedragon1221@users.noreply.github.com> | 2026-01-26 22:04:05 -0600 |
| commit | 90e48cf8b17139019c3849a8a1740d13f2a79791 (patch) | |
| tree | 0c2e9a80e6c0b8152aececa28da83272ccab2fcc /hosts/mercury/nixos.nix | |
| parent | 39bd763a4d5a21cec3b6bc3aca34bbca3313f474 (diff) | |
thin out ssh config now that I use yoshi
Diffstat (limited to 'hosts/mercury/nixos.nix')
| -rw-r--r-- | hosts/mercury/nixos.nix | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/hosts/mercury/nixos.nix b/hosts/mercury/nixos.nix index da8b647..80c61e3 100644 --- a/hosts/mercury/nixos.nix +++ b/hosts/mercury/nixos.nix @@ -24,30 +24,16 @@ environment.defaultPackages = lib.mkForce []; # im not a noob + programs.ssh.extraConfig = '' + Host ganymede + HostName 192.168.50.2 + Port 2222 + ''; + programs.firefox.policies.ExtensionSettings = { "foxyproxy@eric.h.jung" = { installation_mode = "force_installed"; install_url = "https://addons.mozilla.org/firefox/downloads/latest/foxyproxy-standard/latest.xpi"; }; }; - - programs.ssh.extraConfig = '' - Host ganymede - LocalForward 8010 127.0.0.1:8010 - - Match host ganymede !exec "nc -z -w1 192.168.50.2 2222" - HostName williamsfam.us.com - Port 22 - DynamicForward 9090 - - Match host ganymede exec "nc -z -w1 192.168.50.2 2222" - HostName 192.168.50.2 - Port 2222 - - Host io - Hostname 192.168.50.3 - - Match host io !exec "nc -z -w1 192.168.50.3 22" - ProxyJump ganymede - ''; } |
