24 lines
403 B
Nix
24 lines
403 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);
|
||
|
|
}
|
||
|
|
];
|
||
|
|
};
|
||
|
|
};
|
||
|
|
|
||
|
|
};
|
||
|
|
}
|