mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 19:08:30 +00:00
18 lines
673 B
EmacsLisp
18 lines
673 B
EmacsLisp
;; NixOS specific load-path
|
|
(setq load-path
|
|
(append (reverse (mapcar (lambda (x) (concat x "/share/emacs/site-lisp/"))
|
|
(split-string (or (getenv "NIX_PROFILES") ""))))
|
|
load-path))
|
|
|
|
;;; Make `woman' find the man pages
|
|
(eval-after-load 'woman
|
|
'(setq woman-manpath
|
|
(append (reverse (mapcar (lambda (x) (concat x "/share/man/"))
|
|
(split-string (or (getenv "NIX_PROFILES") ""))))
|
|
woman-manpath)))
|
|
|
|
;; Make tramp work for remote NixOS machines
|
|
;;; NOTE: You might want to add
|
|
(eval-after-load 'tramp
|
|
'(add-to-list 'tramp-remote-path "/run/current-system/sw/bin"))
|