nixos/dysnomia: Type all options

This commit is contained in:
Janne Heß 2021-12-07 18:53:18 +01:00
parent 08586ff592
commit e14d34f80f
No known key found for this signature in database
GPG key ID: 69165158F05265DF

View file

@ -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 {