fix: Change formatter to nixfmt-rfc-style

Nix standard formatter (as of RFC166)
This commit is contained in:
Jalil David Salamé Messina 2024-04-05 11:49:48 +02:00
parent 9a4ecf2223
commit e3e96bbf40
Signed by: jalil
GPG key ID: F016B9E770737A0B
2 changed files with 2 additions and 1 deletions

View file

@ -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 =

View file

@ -71,6 +71,7 @@
'';
};
};
# FIXME: doesn't include formatters
conform-nvim = {
enable = true;
formattersByFt = {