Add some TRAMP config

Switch emacs server back to socket activation due to restarting weirdness
This commit is contained in:
Evie Litherland-Smith 2023-10-02 17:04:32 +01:00
parent 95b1dc038e
commit 95433cd4ca
2 changed files with 16 additions and 1 deletions

View file

@ -19,7 +19,7 @@ in {
package = config.programs.emacs.package;
defaultEditor = true;
client.enable = true;
startWithUserSession = true;
socketActivation.enable = true;
};
home = {
inherit sessionVariables;

View file

@ -107,3 +107,18 @@
(setq org-roam-capture-templates
'(("d" "default" plain "%?"
:target (file+head "${slug}.org" "#+title: ${title}\n")))))
;; TRAMP host specific configs
(after! tramp
(setq tramp-default-method "sshx"
tramp-default-remote-shell "/bin/bash")
(connection-local-set-profile-variables
'freia '((tramp-remote-path . ("/home/elitherl/.local/bin"
"/usr/local/depot/git-2.26.1/bin"
tramp-default-remote-path))))
(connection-local-set-profiles '(:application tramp :machine "freia*") 'freia)
(connection-local-set-profile-variables
'heimdall '((tramp-remote-path . ("/home/elitherl/.local/bin"
"/usr/local/depot/git-2.26.1/bin"
tramp-default-remote-path))))
(connection-local-set-profiles '(:application tramp :machine "heimdall*") 'heimdall))