nixfmt(-rfc-style): rename to new default

This commit is contained in:
Trolli Schmittlauch 2024-11-15 01:19:59 +01:00
parent 92dfeb989b
commit b8d2906190
3 changed files with 3 additions and 3 deletions

View file

@ -102,7 +102,7 @@
{ pkgs, ... }:
{
projectRootFile = "flake.nix";
programs.nixfmt-rfc-style.enable = true;
programs.nixfmt.enable = true;
};
in
{

View file

@ -91,7 +91,7 @@ let
nixHelpers = [
nixpkgs-review
unstable.nixfmt-rfc-style
nixfmt
nix-top
statix
];

View file

@ -78,7 +78,7 @@
"editor.formatOnSave" = false;
"editor.formatOnType" = false;
};
"nix.formatterPath" = lib.getExe pkgs.nixfmt-rfc-style;
"nix.formatterPath" = lib.getExe pkgs.nixfmt;
"nix.enableLanguageServer" = true;
"nix.serverPath" = lib.getExe pkgs.nixd;
"nix.serverSettings" = { };