From e14d34f80fa6adc87a686d830df5ca215f9b856f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Tue, 7 Dec 2021 18:53:18 +0100 Subject: [PATCH] nixos/dysnomia: Type all options --- nixos/modules/services/misc/dysnomia.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nixos/modules/services/misc/dysnomia.nix b/nixos/modules/services/misc/dysnomia.nix index 333ba651cde2..7d9c39a69737 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 {