aboutsummaryrefslogtreecommitdiff
path: root/modules/home-manager/emacs/config/init.el
diff options
context:
space:
mode:
authorDylan <boss@tehbox.org>2026-10-22 13:02:16 +1300
committerDylan <boss@tehbox.org>2026-10-22 17:19:36 +1300
commitcc47c443a3f86aa66d2719ee57c0e6e728ee655e (patch)
tree6e57c4e13cf07486d4a02a3652bf84a9889f97a6 /modules/home-manager/emacs/config/init.el
parent008b591a0a5942ae42f4c07a5abbee4dbd2d0743 (diff)
downloadnixos-configuration-cc47c443a3f86aa66d2719ee57c0e6e728ee655e.tar.gz
nixos-configuration-cc47c443a3f86aa66d2719ee57c0e6e728ee655e.zip
feat: Included the emacs configdendritic
Some packages are built with nix and some are still built with emacs
Diffstat (limited to 'modules/home-manager/emacs/config/init.el')
-rw-r--r--modules/home-manager/emacs/config/init.el23
1 files changed, 23 insertions, 0 deletions
diff --git a/modules/home-manager/emacs/config/init.el b/modules/home-manager/emacs/config/init.el
new file mode 100644
index 0000000..e867704
--- /dev/null
+++ b/modules/home-manager/emacs/config/init.el
@@ -0,0 +1,23 @@
+;; Emacs init.el
+(require 'package)
+(add-to-list 'load-path (concat user-emacs-directory "config"))
+(add-to-list 'load-path (concat user-emacs-directory "lisp"))
+(require 'teh-config)
+
+;; Customize writes to an untracked file so it stays out of the repo
+(setq custom-file (concat user-emacs-directory "custom.el"))
+(load custom-file 'noerror)
+
+(put 'narrow-to-region 'disabled nil)
+(custom-set-variables
+ ;; custom-set-variables was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ '(trust-manager-trust-alist '(("/home/boss/nixos-configuration/"))))
+(custom-set-faces
+ ;; custom-set-faces was added by Custom.
+ ;; If you edit it by hand, you could mess it up, so be careful.
+ ;; Your init file should contain only one such instance.
+ ;; If there is more than one, they won't work right.
+ )