mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-19 20:21:14 +00:00
ccb85a53b6
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);
|
|
}];
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|