Use official nix formatter
This commit is contained in:
parent
a06fb16394
commit
9e0c1102a9
|
@ -122,6 +122,7 @@
|
||||||
}}/bin/rebuild ${self} "$@"''}";
|
}}/bin/rebuild ${self} "$@"''}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
formatter = pkgs.nixfmt-rfc-style;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
# nix
|
# nix
|
||||||
lix
|
lix
|
||||||
nixpkgs-fmt
|
nixfmt-rfc-style
|
||||||
|
|
||||||
# Always on (graphical)
|
# Always on (graphical)
|
||||||
] ++ lib.optionals config.frogeye.desktop.xorg [
|
] ++ lib.optionals config.frogeye.desktop.xorg [
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
nil_ls = {
|
nil_ls = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
formatting.command = [ "nixpkgs-fmt" ];
|
formatting.command = [ "nixfmt" ];
|
||||||
nix.flake = {
|
nix.flake = {
|
||||||
autoArchive = true;
|
autoArchive = true;
|
||||||
autoEvalInputs = true;
|
autoEvalInputs = true;
|
||||||
|
|
Loading…
Reference in a new issue