diff options
| author | Franck Cuny <franck@fcuny.net> | 2024-04-06 11:22:57 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2024-04-06 11:22:57 -0700 |
| commit | 7c5780a719565630f58e7751afa8c7e458c49871 (patch) | |
| tree | f8863ebcbd4a1e551a63374b3fee589affca1393 /config/init-nix.el | |
| parent | move some display stuff (diff) | |
| download | emacs.d-7c5780a719565630f58e7751afa8c7e458c49871.tar.gz | |
a org file is definitely not the way for me
Diffstat (limited to 'config/init-nix.el')
| -rw-r--r-- | config/init-nix.el | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config/init-nix.el b/config/init-nix.el new file mode 100644 index 0000000..d0e50c7 --- /dev/null +++ b/config/init-nix.el @@ -0,0 +1,19 @@ +;;; init-nix.el --- Configure nix -*- lexical-binding: t -*- +;; Author: Franck Cuny <franck@fcuny.net> + +;;; Commentary: + +;; All nix related things + +;;; Code: + +(use-package nix-mode + :ensure t + :hook ((nix-mode . eglot-ensure) + (nix-mode . (lambda () (add-hook 'before-save-hook 'eglot-format-buffer nil t)))) + :custom + (nix-indent-function 'nix-indent-line)) + +(provide 'init-nix) + +;;; init-nix.el ends here |
