+;;; nix-mode.el --- Major mode for editing Nix expressions.
+
+;; Author: Eelco Dolstra
+;; URL: https://github.com/NixOS/nix/tree/master/misc/emacs
+;; Version: 1.0
+
 (defun nix-mode ()
   "Major mode for editing Nix expressions.
 

  (setq paragraph-start "[ \t]*\\(#+[ \t]*\\)?$")
  (make-local-variable 'paragraph-separate)
  (setq paragraph-separate paragraph-start)
  
  (run-hooks 'nix-mode-hook)
  )


(defvar nix-mode-map nil

"

  (interactive)

  (kill-all-local-variables)

  (setq major-mode 'nix-mode)
  (setq mode-name "Nix")

