{ systemsAttributes, nixpkgs, nixpkgs-darwin, self, inputs, }: { nixpkgsAllowUnfree ? false, nixpkgsCudaSupport ? false, nixpkgsAllowUnfreePredicate ? [ ], nixpkgsExtraConfig ? { }, nixpkgsIsDarwin ? false, }: (systemsAttributes ( system: import (if nixpkgsIsDarwin then nixpkgs-darwin else nixpkgs) { inherit system; overlays = (import "${self}/lib/overlays.nix" { inherit self; }) ++ [ (_final: _prev: { tsutsumi = inputs.tsutsumi.packages.${system}; }) ]; config = { allowUnfree = nixpkgsAllowUnfree; cudaSupport = nixpkgsCudaSupport; allowUnfreePredicate = nixpkgsAllowUnfreePredicate; } // nixpkgsExtraConfig; } ))