about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-11-26 16:20:13 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-11-26 16:20:13 +0000
commit86278e4680deed94f9747e279b3b995cff980d8d (patch)
treef4e36b2cc34c638ce187f1408b99d3872fc82ed6
parent831de5f8e883ca2435c450f52578aa5a5fe9fd03 (diff)
downloaddotfiles-86278e4680deed94f9747e279b3b995cff980d8d.tar.gz
Add nix-mode and nix-update
-rw-r--r--.emacs.d/init.el1
-rw-r--r--.emacs.d/lisp/init-nix.el12
2 files changed, 13 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 8bc4e08..5fa7b0f 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -56,6 +56,7 @@
 (require! 'init-lsp)
 (require! 'init-git)
 (require! 'init-shell)
+(require! 'init-nix)
 (require! 'init-org)
 ;;(require! 'init-latex)
 (require! 'init-xml)
diff --git a/.emacs.d/lisp/init-nix.el b/.emacs.d/lisp/init-nix.el
new file mode 100644
index 0000000..b4cf0fe
--- /dev/null
+++ b/.emacs.d/lisp/init-nix.el
@@ -0,0 +1,12 @@
+;;; init-nix.el --- Nix Configuration File -*- lexical-binding: t -*-
+;;; Commentary:
+;;; Code:
+
+(use-package nix-mode
+  :commands nix-repl-show)
+
+(use-package nix-update
+  :commands nix-update-fetch)
+
+(provide 'init-nix)
+;;; init-nix.el ends here