diff --git a/module.nix b/module.nix index 079f973..3a200bd 100644 --- a/module.nix +++ b/module.nix @@ -3,7 +3,7 @@ options.services.fooud = { enable = lib.mkEnableOption config.description; repos = lib.mkOption { - type = lib.listOf { + type = lib.types.listOf (lib.types.submodule ({ ... }: { path = lib.mkOption { description = "fullpath to the repositiory on your server"; type = lib.types.string; @@ -16,7 +16,7 @@ '' ]; }; - }; + })); }; user = lib.mkOption { type = lib.types.str;