nixos/home-manager/software/emacs/emacs.d/init.el

23 lines
791 B
EmacsLisp
Raw Normal View History

2022-03-03 19:30:18 +01:00
;; Added by Package.el. This must come before configurations of
;; installed packages. Don't delete this line. If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)
2022-08-21 15:18:00 +02:00
;; My details
(setq user-full-name "Andreas Zweili")
(setq user-mail-address "andreas@zweili.ch")
2022-03-03 19:30:18 +01:00
;; keep customize settings in their own file
(setq custom-file "~/.emacs.d/custom.el")
(when (file-exists-p custom-file)
2022-08-12 09:21:49 +02:00
(load custom-file))
2022-03-03 19:30:18 +01:00
(defun modules-path (config)
2022-08-18 21:14:15 +02:00
(setq emacs-config-dir "~/.nixos/home-manager/software/emacs/emacs.d/lib/")
(concat emacs-config-dir config))
2022-08-31 21:51:49 +02:00
;; load config files
2022-08-21 15:19:58 +02:00
(load-file "~/.emacs.d/variables.el")
(load-file "~/.nixos/home-manager/software/emacs/emacs.d/modules.el")