diff options
Diffstat (limited to 'packages/tramp.el')
-rw-r--r-- | packages/tramp.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/tramp.el b/packages/tramp.el new file mode 100644 index 0000000..5af23df --- /dev/null +++ b/packages/tramp.el @@ -0,0 +1,8 @@ +(use-package tramp + :custom + (tramp-password-cache nil) + (tramp-persistency-file-name (file-name-concat (xdg-state-home) "emacs/tramp/persistency-file")) + :config + (add-to-list 'tramp-connection-properties + (list (regexp-quote (format "/sudo:root@%s:" system-name)) + "session-timeout" (* 60 60)))) |