mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-18 17:54:36 +02:00
flake-modules/dev: cosmetic refactor
This commit is contained in:
parent
99cb3fb8fc
commit
8dfa5fa8a2
1 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue