Add nix-fast-build
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -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;
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user