This allows the values below it to be specified as options, while remaining compatible with existing code.
22 lines
378 B
Nix
22 lines
378 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib) mkOption types;
|
|
in
|
|
{
|
|
options = {
|
|
|
|
system.build = mkOption {
|
|
default = {};
|
|
description = ''
|
|
Attribute set of derivations used to set up the system.
|
|
'';
|
|
type = types.submoduleWith {
|
|
modules = [{
|
|
freeformType = with types; lazyAttrsOf (uniq unspecified);
|
|
}];
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|