From 73af89d935df5a8166114c9257f9f247f29850bf Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Fri, 26 Apr 2024 18:21:56 +0200 Subject: Migrate from stumpwm to sway and from manifests to home-services. --- .emacs.d/jd/jd-custom.el | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to '.emacs.d/jd/jd-custom.el') diff --git a/.emacs.d/jd/jd-custom.el b/.emacs.d/jd/jd-custom.el index f48f761..8383e41 100755 --- a/.emacs.d/jd/jd-custom.el +++ b/.emacs.d/jd/jd-custom.el @@ -39,6 +39,22 @@ (erc :server "195.74.91.18" :port "6697")) + +;; Repair load paths when tramp try to connect to guix instances +(require 'tramp) + +(connection-local-set-profile-variables + 'guix-system + '((tramp-remote-path . (tramp-own-remote-path)))) + +(connection-local-set-profiles + '(:application tramp :protocol "sudo" :machine "localhost") + 'guix-system) + +(connection-local-set-profiles + '(:application tramp :protocol "ssh" :machine "jdlugosz.com") + 'guix-system) + (provide 'jd-custom) ;;; jd-custom.el ends here -- cgit v1.2.3