nt/flake/util.nix

21 lines
334 B
Nix
Raw Normal View History

2026-01-27 17:50:53 +10:00
{
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;
}));
}