diff options
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/emacs.el | 2 | ||||
-rw-r--r-- | accounts/gkleen@sif/ssh-hosts.nix | 19 |
2 files changed, 20 insertions, 1 deletions
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 @@ | |||
81 | 81 | ||
82 | (setq undo-tree-auto-save-history t) | 82 | (setq undo-tree-auto-save-history t) |
83 | 83 | ||
84 | (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"))) | 84 | (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"))) |
85 | (defun my/add-to-tilde-alist (hash) | 85 | (defun my/add-to-tilde-alist (hash) |
86 | (let* ((tilde:dir (split-string hash "=")) | 86 | (let* ((tilde:dir (split-string hash "=")) |
87 | (tilde (car tilde:dir)) | 87 | (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 @@ | |||
480 | ''); | 480 | ''); |
481 | }; | 481 | }; |
482 | }; | 482 | }; |
483 | "srv01.uniworx.de" = | ||
484 | { | ||
485 | localForwards = [ | ||
486 | { bind = { address = "localhost"; port = 3665; }; | ||
487 | host = { address = "localhost"; port = 3665; }; | ||
488 | } | ||
489 | { bind = { address = "localhost"; port = 8745; }; | ||
490 | host = { address = "localhost"; port = 8745; }; | ||
491 | } | ||
492 | { bind = { address = "localhost"; port = 8746; }; | ||
493 | host = { address = "localhost"; port = 8746; }; | ||
494 | } | ||
495 | ]; | ||
496 | remoteForwards = [ | ||
497 | { host = { address = "/run/user/1000/emacs/server"; }; | ||
498 | bind = { address = "/home/gkleen/.ssh/emacs-server"; }; | ||
499 | } | ||
500 | ]; | ||
501 | }; | ||
483 | } | 502 | } |