nix: use nixpkgs-fmt instead of alejandra
Alan Pearce alan@alanpearce.eu
Tue, 14 Mar 2023 21:37:56 +0100
2 files changed, 4 insertions(+), 2 deletions(-)
M user/emacs/init.el → user/emacs/init.el
@@ -1082,7 +1082,9 @@ (use-package apheleia :config (progn (setf (alist-get 'shfmt apheleia-formatters) - '("shfmt"))) + '("shfmt")) + (setf (alist-get 'nixfmt apheleia-formatters) + '("nixpkgs-fmt"))) :init (progn (apheleia-global-mode +1)))
M user/settings/nix.nix → user/settings/nix.nix
@@ -7,7 +7,7 @@ nixpkgs.config = import ../config.nix; home.packages = with pkgs; [ nil nix-prefetch-scripts - alejandra # nix formatter + nixpkgs-fmt ]; nixpkgs.overlays = [ (import ../overlays/extra-packages.nix)