Add nix-fast-build

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-09-10 18:22:25 +01:00
parent f960808cc7
commit c02886f271
12 changed files with 45 additions and 31 deletions

View File

@@ -189,7 +189,16 @@
devShells.${system} = import ./hosts/common/shells { inherit pkgs; };
packages.${system} = import ./packages { inherit pkgs; };
formatter.${system} = treefmt.config.build.wrapper;
checks.${system}.formatting = treefmt.config.build.check inputs.self;
checks.${system} = with inputs.self; {
nixosConfigurations = builtins.mapAttrs (_: c: c.config.system.build.toplevel) (
(pkgs.lib.filterAttrs (_: config: config.pkgs.system == system)) inputs.self.nixosConfigurations
);
devShells = devShells.${system};
packages = packages.${system};
formatter = treefmt.config.build.check inputs.self;
};
}
);
}