diff --git a/lua/plugins/conform.lua b/lua/plugins/conform.lua index 0b12ce8..7875c4b 100644 --- a/lua/plugins/conform.lua +++ b/lua/plugins/conform.lua @@ -2,7 +2,6 @@ return { "conform.nvim", opts = { formatters_by_ft = { - nix = { "nixpkgs-fmt" }, templ = { "templ" }, typst = { "typstyle" }, }, diff --git a/lua/plugins/nix.lua b/lua/plugins/nix.lua index 31c5988..13f96b1 100644 --- a/lua/plugins/nix.lua +++ b/lua/plugins/nix.lua @@ -10,6 +10,14 @@ return { }, }, }, + { + "conform.nvim", + opts = { + formatters_by_ft = { + nix = { "nixfmt" }, + }, + }, + }, { "nvim-lspconfig", opts = {