mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-19 10:14:52 +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,
|
system,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
|
||||||
fmt = pkgs.nixfmt-rfc-style;
|
|
||||||
in
|
|
||||||
lib.optionalAttrs (inputs.treefmt-nix ? flakeModule) {
|
lib.optionalAttrs (inputs.treefmt-nix ? flakeModule) {
|
||||||
treefmt.config = {
|
treefmt.config = {
|
||||||
projectRootFile = "flake.nix";
|
projectRootFile = "flake.nix";
|
||||||
|
@ -24,7 +21,7 @@
|
||||||
isort.enable = true;
|
isort.enable = true;
|
||||||
nixfmt = {
|
nixfmt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = fmt;
|
package = pkgs.nixfmt-rfc-style;
|
||||||
};
|
};
|
||||||
prettier = {
|
prettier = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue