Add some TRAMP config
Switch emacs server back to socket activation due to restarting weirdness
This commit is contained in:
parent
95b1dc038e
commit
95433cd4ca
|
@ -19,7 +19,7 @@ in {
|
|||
package = config.programs.emacs.package;
|
||||
defaultEditor = true;
|
||||
client.enable = true;
|
||||
startWithUserSession = true;
|
||||
socketActivation.enable = true;
|
||||
};
|
||||
home = {
|
||||
inherit sessionVariables;
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue