aboutsummaryrefslogtreecommitdiff
path: root/flakes/mypackages/lib/flake-parts-lib.nix
blob: 271a4cf1a8419cda25257ae24157c3be47de3fd0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
i@{ name, type }:
{ lib, flake-parts-lib, ... }:
flake-parts-lib.mkTransposedPerSystemModule {
  inherit name;
  option = lib.mkOption {
    type = lib.types.lazyAttrsOf lib.types."${type}";
    default = { };
  };
  file = import ./flake-parts-lib.nix i;
}