Use official nix formatter

This commit is contained in:
Geoffrey Frogeye 2024-12-15 00:04:26 +01:00
parent a06fb16394
commit 9e0c1102a9
Signed by: geoffrey
GPG key ID: C72403E7F82E6AD8
2 changed files with 3 additions and 2 deletions

View file

@ -122,6 +122,7 @@
}}/bin/rebuild ${self} "$@"''}";
};
};
formatter = pkgs.nixfmt-rfc-style;
}
);
};

View file

@ -22,7 +22,7 @@
# nix
lix
nixpkgs-fmt
nixfmt-rfc-style
# Always on (graphical)
] ++ lib.optionals config.frogeye.desktop.xorg [
@ -71,7 +71,7 @@
nil_ls = {
enable = true;
settings = {
formatting.command = [ "nixpkgs-fmt" ];
formatting.command = [ "nixfmt" ];
nix.flake = {
autoArchive = true;
autoEvalInputs = true;