mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-09 07:28:53 +01:00
meta: Replace treefmt with flake formatter output
This makes the code base more portable by *only* depending on Nix as a dependency. Note that the code base hasn't been migrated to nixfmt-rfc-style yet.
This commit is contained in:
parent
ba6806a37a
commit
dd171006b2
@ -46,6 +46,8 @@
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.nixpkgs-fmt;
|
||||
} //
|
||||
(builtins.listToAttrs
|
||||
(builtins.map
|
||||
|
@ -1,9 +0,0 @@
|
||||
[formatter.deno]
|
||||
command = "deno"
|
||||
options = ["fmt"]
|
||||
includes = [ "*.ts" ]
|
||||
|
||||
[formatter.nix]
|
||||
command = "nixpkgs-fmt"
|
||||
includes = [ "*.nix" ]
|
||||
excludes = [ "./hardware/*" ]
|
Loading…
Reference in New Issue
Block a user