flake-modules/dev: cosmetic refactor

This commit is contained in:
Gaetan Lepage 2024-12-10 09:22:57 +01:00 committed by nix-infra-bot
parent 99cb3fb8fc
commit 8dfa5fa8a2

View file

@ -12,9 +12,6 @@
system,
...
}:
let
fmt = pkgs.nixfmt-rfc-style;
in
lib.optionalAttrs (inputs.treefmt-nix ? flakeModule) {
treefmt.config = {
projectRootFile = "flake.nix";
@ -24,7 +21,7 @@
isort.enable = true;
nixfmt = {
enable = true;
package = fmt;
package = pkgs.nixfmt-rfc-style;
};
prettier = {
enable = true;