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 ]; }