From c038f4a4f2c4b8d456bcc04dbcbe09120de731f4 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 9 Feb 2023 17:12:07 +0100 Subject: ... --- accounts/gkleen@sif/emacs.el | 2 +- accounts/gkleen@sif/ssh-hosts.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el index a2323c5f..244b6a9f 100644 --- a/accounts/gkleen@sif/emacs.el +++ b/accounts/gkleen@sif/emacs.el @@ -81,7 +81,7 @@ (setq undo-tree-auto-save-history t) -(defvar expand-file-name-custom-tilde-alist '(("u2w-dev1" . "/ssh:uni2work-dev1:/home/gkleen/projects/uni2work") ("fradrive-dev1" . "/ssh:uni2work-dev1:/home/gkleen/projects/fradrive"))) +(defvar expand-file-name-custom-tilde-alist '(("u2w-dev1" . "/ssh:uni2work-dev1:/home/gkleen/projects/uni2work") ("fradrive-dev1" . "/ssh:uni2work-dev1:/home/gkleen/projects/fradrive") ("u2w-srv01" . "/ssh:srv01.uniworx.de:/home/gkleen/projects/uni2work"))) (defun my/add-to-tilde-alist (hash) (let* ((tilde:dir (split-string hash "=")) (tilde (car tilde:dir)) diff --git a/accounts/gkleen@sif/ssh-hosts.nix b/accounts/gkleen@sif/ssh-hosts.nix index d6f7c1dc..4c5895cd 100644 --- a/accounts/gkleen@sif/ssh-hosts.nix +++ b/accounts/gkleen@sif/ssh-hosts.nix @@ -480,4 +480,23 @@ ''); }; }; + "srv01.uniworx.de" = + { + localForwards = [ + { bind = { address = "localhost"; port = 3665; }; + host = { address = "localhost"; port = 3665; }; + } + { bind = { address = "localhost"; port = 8745; }; + host = { address = "localhost"; port = 8745; }; + } + { bind = { address = "localhost"; port = 8746; }; + host = { address = "localhost"; port = 8746; }; + } + ]; + remoteForwards = [ + { host = { address = "/run/user/1000/emacs/server"; }; + bind = { address = "/home/gkleen/.ssh/emacs-server"; }; + } + ]; + }; } -- cgit v1.2.3