nt/flake/util.nix
Emile Clark-Boman bc2a62e62b add flake module
2026-01-27 17:50:53 +10:00

20 lines
334 B
Nix

{
flake,
systems,
nixpkgs,
...
}: let
inherit
(builtins)
attrValues
;
in {
forAllSystems = f:
nixpkgs.lib.genAttrs systems (system:
f system (import nixpkgs {
inherit system;
allowUnfree = false;
allowBroken = false;
overlays = attrValues flake.overlays;
}));
}