diff --git a/flake.nix b/flake.nix index 57de21f..a55678e 100644 --- a/flake.nix +++ b/flake.nix @@ -102,7 +102,7 @@ }; # Nix files formatter (run `nix fmt`) - formatter = forEachSupportedSystem ({ pkgs, ... }: pkgs.nixpkgs-fmt); + formatter = forEachSupportedSystem ({ pkgs, ... }: pkgs.nixfmt-rfc-style); # Example vm configuration nixosConfigurations.vm = diff --git a/nvim/plugins.nix b/nvim/plugins.nix index ee8f687..b9777bb 100644 --- a/nvim/plugins.nix +++ b/nvim/plugins.nix @@ -71,6 +71,7 @@ ''; }; }; + # FIXME: doesn't include formatters conform-nvim = { enable = true; formattersByFt = {