Use official nix formatter
This commit is contained in:
parent
a06fb16394
commit
9e0c1102a9
|
@ -122,6 +122,7 @@
|
|||
}}/bin/rebuild ${self} "$@"''}";
|
||||
};
|
||||
};
|
||||
formatter = pkgs.nixfmt-rfc-style;
|
||||
}
|
||||
);
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue