Use overlay

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-08-17 17:12:48 +03:00
parent 00d04c73f6
commit f40c333987
9 changed files with 21 additions and 32 deletions

View File

@@ -10,7 +10,10 @@
outputs =
inputs:
(
{
overlays.default = import ./overlay;
}
// (
let
system = "x86_64-linux";
@@ -22,8 +25,6 @@
treefmt = inputs.treefmt-nix.lib.evalModule pkgs ./treefmt.nix;
in
{
lib.${system} = import ./lib { inherit pkgs; };
formatter.${system} = treefmt.config.build.wrapper;
checks.${system}.formatting = treefmt.config.build.check inputs.self;
}