fix: Change formatter to nixfmt-rfc-style
Nix standard formatter (as of RFC166)
This commit is contained in:
parent
9a4ecf2223
commit
e3e96bbf40
2 changed files with 2 additions and 1 deletions
|
@ -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 =
|
||||
|
|
|
@ -71,6 +71,7 @@
|
|||
'';
|
||||
};
|
||||
};
|
||||
# FIXME: doesn't include formatters
|
||||
conform-nvim = {
|
||||
enable = true;
|
||||
formattersByFt = {
|
||||
|
|
Loading…
Reference in a new issue