diff --git a/modules/home-manager/nixvim/plugins/fmt.nix b/modules/home-manager/nixvim/plugins/fmt.nix index be6cfeb..09d7677 100644 --- a/modules/home-manager/nixvim/plugins/fmt.nix +++ b/modules/home-manager/nixvim/plugins/fmt.nix @@ -1,10 +1,5 @@ { pkgs, ... }: { - home.packages = with pkgs; [ - stylua - nixfmt-rfc-style - ]; - programs.nixvim = { opts.formatexpr = "v:lua.require'conform'.formatexpr()"; @@ -48,5 +43,10 @@ }; }; }; + + extraPackages = with pkgs; [ + stylua + nixfmt-rfc-style + ]; }; }