diff options
author | Janne Heß <janne@hess.ooo> | 2021-12-07 18:53:18 +0100 |
---|---|---|
committer | Janne Heß <janne@hess.ooo> | 2021-12-07 18:53:18 +0100 |
commit | e14d34f80fa6adc87a686d830df5ca215f9b856f (patch) | |
tree | d1b2e4f896401661465a727260081ecb73110642 /nixos/modules | |
parent | 08586ff5921e9511a5eef8259ac334063d718ce7 (diff) | |
download | nixpkgs-e14d34f80fa6adc87a686d830df5ca215f9b856f.tar nixpkgs-e14d34f80fa6adc87a686d830df5ca215f9b856f.tar.gz nixpkgs-e14d34f80fa6adc87a686d830df5ca215f9b856f.tar.bz2 nixpkgs-e14d34f80fa6adc87a686d830df5ca215f9b856f.tar.lz nixpkgs-e14d34f80fa6adc87a686d830df5ca215f9b856f.tar.xz nixpkgs-e14d34f80fa6adc87a686d830df5ca215f9b856f.tar.zst nixpkgs-e14d34f80fa6adc87a686d830df5ca215f9b856f.zip |
nixos/dysnomia: Type all options
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/services/misc/dysnomia.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/nixos/modules/services/misc/dysnomia.nix b/nixos/modules/services/misc/dysnomia.nix index 333ba651cde..7d9c39a6973 100644 --- a/nixos/modules/services/misc/dysnomia.nix +++ b/nixos/modules/services/misc/dysnomia.nix @@ -104,31 +104,37 @@ in properties = mkOption { description = "An attribute set in which each attribute represents a machine property. Optionally, these values can be shell substitutions."; default = {}; + type = types.attrs; }; containers = mkOption { description = "An attribute set in which each key represents a container and each value an attribute set providing its configuration properties"; default = {}; + type = types.attrsOf types.attrs; }; 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"; default = {}; + type = types.attrsOf types.attrs; }; extraContainerProperties = mkOption { description = "An attribute set providing additional container settings in addition to the default properties"; default = {}; + type = types.attrs; }; extraContainerPaths = mkOption { description = "A list of paths containing additional container configurations that are added to the search folders"; default = []; + type = types.listOf types.path; }; extraModulePaths = mkOption { description = "A list of paths containing additional modules that are added to the search folders"; default = []; + type = types.listOf types.path; }; enableLegacyModules = mkOption { |