fix type info

This commit is contained in:
Squibid 2026-01-11 17:29:15 -05:00
parent 6775bf772a
commit 9161052f8a
Signed by: squibid
GPG key ID: BECE5684D3C4005D

View file

@ -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;