feat: Add nix-mode & nix-config function

* install nix-mode by default
* add a function to quickly open the system configuration.nix
This commit is contained in:
Vincent Ambo 2017-10-15 20:23:51 +02:00
parent af89133821
commit 5e48ce3f9b
3 changed files with 9 additions and 0 deletions

View file

@ -111,4 +111,9 @@ Including indent-buffer, which should not be called automatically on save."
(interactive)
(eww "https://blog.fefe.de/"))
;; Open this machines NixOS config
(defun nix-config ()
(interactive)
(find-file "/etc/nixos/configuration.nix"))
(provide 'functions)