mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 12:42:24 +00:00
Merge pull request #149416 from helsinki-systems/feat/type-dysnomia-options
nixos/dysnomia: Type all options
This commit is contained in:
commit
01ed14a53c
|
@ -104,31 +104,37 @@ in
|
||||||
properties = mkOption {
|
properties = mkOption {
|
||||||
description = "An attribute set in which each attribute represents a machine property. Optionally, these values can be shell substitutions.";
|
description = "An attribute set in which each attribute represents a machine property. Optionally, these values can be shell substitutions.";
|
||||||
default = {};
|
default = {};
|
||||||
|
type = types.attrs;
|
||||||
};
|
};
|
||||||
|
|
||||||
containers = mkOption {
|
containers = mkOption {
|
||||||
description = "An attribute set in which each key represents a container and each value an attribute set providing its configuration properties";
|
description = "An attribute set in which each key represents a container and each value an attribute set providing its configuration properties";
|
||||||
default = {};
|
default = {};
|
||||||
|
type = types.attrsOf types.attrs;
|
||||||
};
|
};
|
||||||
|
|
||||||
components = mkOption {
|
components = mkOption {
|
||||||
description = "An atttribute set in which each key represents a container and each value an attribute set in which each key represents a component and each value a derivation constructing its initial state";
|
description = "An atttribute set in which each key represents a container and each value an attribute set in which each key represents a component and each value a derivation constructing its initial state";
|
||||||
default = {};
|
default = {};
|
||||||
|
type = types.attrsOf types.attrs;
|
||||||
};
|
};
|
||||||
|
|
||||||
extraContainerProperties = mkOption {
|
extraContainerProperties = mkOption {
|
||||||
description = "An attribute set providing additional container settings in addition to the default properties";
|
description = "An attribute set providing additional container settings in addition to the default properties";
|
||||||
default = {};
|
default = {};
|
||||||
|
type = types.attrs;
|
||||||
};
|
};
|
||||||
|
|
||||||
extraContainerPaths = mkOption {
|
extraContainerPaths = mkOption {
|
||||||
description = "A list of paths containing additional container configurations that are added to the search folders";
|
description = "A list of paths containing additional container configurations that are added to the search folders";
|
||||||
default = [];
|
default = [];
|
||||||
|
type = types.listOf types.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
extraModulePaths = mkOption {
|
extraModulePaths = mkOption {
|
||||||
description = "A list of paths containing additional modules that are added to the search folders";
|
description = "A list of paths containing additional modules that are added to the search folders";
|
||||||
default = [];
|
default = [];
|
||||||
|
type = types.listOf types.path;
|
||||||
};
|
};
|
||||||
|
|
||||||
enableLegacyModules = mkOption {
|
enableLegacyModules = mkOption {
|
||||||
|
|
Loading…
Reference in a new issue