summaryrefslogtreecommitdiffstats
path: root/.emacs.d/jd/jd-custom.el
blob: a634baa64cb829abc40baa4177c18e7b3f04c7ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
;;; Dotfiles --- Jakub Dlugosz emacs config
;;; Commentary:

;;; Code:

(setq erc-nick "bobbma"
      erc-user-full-name "Jakub Dlugosz"
      erc-notify-list '("akuleszaa"))

(defun hipis-znc ()
  (interactive)
  (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