chore(nixvim): move installed formatters to consistent option

This commit is contained in:
2025-12-25 15:00:32 +01:00
parent ce3a9f08bc
commit ff28ebd10a
+5 -5
View File
@@ -1,10 +1,5 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
home.packages = with pkgs; [
stylua
nixfmt-rfc-style
];
programs.nixvim = { programs.nixvim = {
opts.formatexpr = "v:lua.require'conform'.formatexpr()"; opts.formatexpr = "v:lua.require'conform'.formatexpr()";
@@ -48,5 +43,10 @@
}; };
}; };
}; };
extraPackages = with pkgs; [
stylua
nixfmt-rfc-style
];
}; };
} }