summaryrefslogtreecommitdiff
path: root/accounts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2023-02-09 17:12:07 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2023-02-09 17:12:07 +0100
commitc038f4a4f2c4b8d456bcc04dbcbe09120de731f4 (patch)
tree6dce9b3f2c3c2a5d85696ce21829aeada8ac412f /accounts
parent8bcc1851adc49ab0ff80b98b27805447a3f37e31 (diff)
downloadnixos-c038f4a4f2c4b8d456bcc04dbcbe09120de731f4.tar
nixos-c038f4a4f2c4b8d456bcc04dbcbe09120de731f4.tar.gz
nixos-c038f4a4f2c4b8d456bcc04dbcbe09120de731f4.tar.bz2
nixos-c038f4a4f2c4b8d456bcc04dbcbe09120de731f4.tar.xz
nixos-c038f4a4f2c4b8d456bcc04dbcbe09120de731f4.zip
...
Diffstat (limited to 'accounts')
-rw-r--r--accounts/gkleen@sif/emacs.el2
-rw-r--r--accounts/gkleen@sif/ssh-hosts.nix19
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}