From 9161052f8a92d865ece733974c1cb055408bc98c Mon Sep 17 00:00:00 2001 From: Squibid Date: Sun, 11 Jan 2026 17:29:15 -0500 Subject: [PATCH] fix type info --- module.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/module.nix b/module.nix index 079f973..e2ad6e4 100644 --- a/module.nix +++ b/module.nix @@ -3,20 +3,20 @@ 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; }; hooks = lib.mkOption { - type = lib.listOf lib.types.path; + type = lib.types.listOf lib.types.path; example = [ pkgs.writeScriptBin "post-recieve" '' git clone . /var/www/your/deployed/location '' ]; }; - }; + })); }; user = lib.mkOption { type = lib.types.str;