aboutsummaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/mercury/nixos.nix26
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
- '';
}