summary refs log tree commit diff
path: root/nixos/modules
diff options
context:
space:
mode:
authorJörg Thalheim <Mic92@users.noreply.github.com>2021-12-08 15:36:17 +0000
committerGitHub <noreply@github.com>2021-12-08 15:36:17 +0000
commit01ed14a53c5711914294ce45340ab39d084d5299 (patch)
treeb5ace8b029fe372e2dd33a056f1750ac905c38fd /nixos/modules
parent946915d55de81ab589eda940f5215e0972045998 (diff)
parente14d34f80fa6adc87a686d830df5ca215f9b856f (diff)
downloadnixpkgs-01ed14a53c5711914294ce45340ab39d084d5299.tar
nixpkgs-01ed14a53c5711914294ce45340ab39d084d5299.tar.gz
nixpkgs-01ed14a53c5711914294ce45340ab39d084d5299.tar.bz2
nixpkgs-01ed14a53c5711914294ce45340ab39d084d5299.tar.lz
nixpkgs-01ed14a53c5711914294ce45340ab39d084d5299.tar.xz
nixpkgs-01ed14a53c5711914294ce45340ab39d084d5299.tar.zst
nixpkgs-01ed14a53c5711914294ce45340ab39d084d5299.zip
Merge pull request #149416 from helsinki-systems/feat/type-dysnomia-options
nixos/dysnomia: Type all options
Diffstat (limited to 'nixos/modules')
-rw-r--r--nixos/modules/services/misc/dysnomia.nix6
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 {