From bfe82993fdc60dbec11626103e20eb324588857c Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Fri, 13 Jun 2025 19:35:30 +0530 Subject: [PATCH] feat: Added autossh socks proxy to mirai --- darwin/shiro/services/autossh.nix | 14 ++++++++++++++ darwin/shiro/services/default.nix | 1 + 2 files changed, 15 insertions(+) create mode 100644 darwin/shiro/services/autossh.nix diff --git a/darwin/shiro/services/autossh.nix b/darwin/shiro/services/autossh.nix new file mode 100644 index 00000000..5900c86e --- /dev/null +++ b/darwin/shiro/services/autossh.nix @@ -0,0 +1,14 @@ +{...}: { + services = { + autossh = { + enable = true; + sessions = { + "mirai" = { + name = "mirai-socks"; + extraArguments = "-N -D 1080 -M 0"; + user = "fs0c131y"; + }; + }; + }; + }; +} diff --git a/darwin/shiro/services/default.nix b/darwin/shiro/services/default.nix index 57bc4199..6d4e8008 100644 --- a/darwin/shiro/services/default.nix +++ b/darwin/shiro/services/default.nix @@ -5,6 +5,7 @@ ./tailscale.nix ./zerotier.nix ./jellyfin.nix + ./autossh.nix # ./aerospace.nix ]; }