2024-03-14 11:46:04 +00:00
|
|
|
{inputs, ...}: {
|
2023-11-03 07:25:58 +00:00
|
|
|
systems = ["x86_64-linux"];
|
|
|
|
|
|
|
|
imports = [inputs.flake-parts.flakeModules.easyOverlay];
|
|
|
|
|
|
|
|
perSystem = {
|
|
|
|
config,
|
|
|
|
system,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
_module.args.pkgs = import inputs.nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
config.allowUnfree = true;
|
|
|
|
};
|
|
|
|
|
2023-11-03 09:27:04 +00:00
|
|
|
packages = let
|
|
|
|
pins = import ../npins;
|
2024-03-14 11:46:04 +00:00
|
|
|
|
2024-03-18 13:33:41 +00:00
|
|
|
inherit (pkgs) callPackage;
|
2023-11-07 12:59:37 +00:00
|
|
|
mkPackage = path: {__functor = self: self.override;} // (callPackage path {inherit pins;});
|
2024-03-18 13:33:41 +00:00
|
|
|
in
|
|
|
|
import ./top-level.nix {inherit pkgs callPackage mkPackage;};
|
2023-11-03 07:25:58 +00:00
|
|
|
};
|
|
|
|
}
|