♻️ refactor layout, simplify flake.nix

This commit is contained in:
walkah committed 2023-07-27 15:22:16 -04:00
1 parent 74296f8b9b
commit d4b4ba1d1e
12 files changed
+225 -228

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
{ self, system, pre-commit-hooks, ... }:
with self.pkgs.${system};
{
pre-commit-check = pre-commit-hooks.lib.${system}.run {
src = ./.;
hooks = {
deadnix.enable = true;
nixpkgs-fmt.enable = true;
statix.enable = true;
};
};
} // (deploy-rs.lib.deployChecks self.deploy)