about summary refs log tree commit diff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/functions.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/init/functions.el b/init/functions.el
index 84a689656425..ebcc5b5f7d19 100644
--- a/init/functions.el
+++ b/init/functions.el
@@ -110,6 +110,11 @@ Including indent-buffer, which should not be called automatically on save."
   (interactive)
   (find-file "/etc/nixos/configuration.nix"))
 
+;; Open the NixOS man page
+(defun nixos-man ()
+  (interactive)
+  (man "configuration.nix"))
+
 ;; Open local emacs configuration
 (defun emacs-config ()
   (interactive)