diff --git a/home-manager/modules/emacs/config.org b/home-manager/modules/emacs/config.org index b778b89..1715ab3 100644 --- a/home-manager/modules/emacs/config.org +++ b/home-manager/modules/emacs/config.org @@ -1514,13 +1514,13 @@ Add [[https://github.com/NixOS/nix-mode][nix-mode]] :hook (nix-mode . eglot-ensure)) #+end_src -Tell =nil= to use =nixpkgs-fmt= for formatting nix files. +Tell =nil= to use =nixfmt= for formatting nix files. #+begin_src emacs-lisp (with-eval-after-load 'eglot (add-to-list 'eglot-server-programs `(nix-mode . ("nil" :initializationOptions - (:formatting (:command ["nixpkgs-fmt"])))))) + (:formatting (:command ["nixfmt"])))))) #+end_src *** Common Lisp diff --git a/home-manager/modules/emacs/default.nix b/home-manager/modules/emacs/default.nix index f2f3743..40e4f05 100644 --- a/home-manager/modules/emacs/default.nix +++ b/home-manager/modules/emacs/default.nix @@ -195,7 +195,7 @@ in aspell lldb (nil.overrideAttrs (_: { doCheck = false; })) - nixpkgs-fmt + nixfmt-rfc-style python3 ] ++ (with aspellDicts; [