fix type info
This commit is contained in:
parent
6775bf772a
commit
9161052f8a
1 changed files with 3 additions and 3 deletions
|
|
@ -3,20 +3,20 @@
|
||||||
options.services.fooud = {
|
options.services.fooud = {
|
||||||
enable = lib.mkEnableOption config.description;
|
enable = lib.mkEnableOption config.description;
|
||||||
repos = lib.mkOption {
|
repos = lib.mkOption {
|
||||||
type = lib.listOf {
|
type = lib.types.listOf (lib.types.submodule ({ ... }: {
|
||||||
path = lib.mkOption {
|
path = lib.mkOption {
|
||||||
description = "fullpath to the repositiory on your server";
|
description = "fullpath to the repositiory on your server";
|
||||||
type = lib.types.string;
|
type = lib.types.string;
|
||||||
};
|
};
|
||||||
hooks = lib.mkOption {
|
hooks = lib.mkOption {
|
||||||
type = lib.listOf lib.types.path;
|
type = lib.types.listOf lib.types.path;
|
||||||
example = [
|
example = [
|
||||||
pkgs.writeScriptBin "post-recieve" ''
|
pkgs.writeScriptBin "post-recieve" ''
|
||||||
git clone . /var/www/your/deployed/location
|
git clone . /var/www/your/deployed/location
|
||||||
''
|
''
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
}));
|
||||||
};
|
};
|
||||||
user = lib.mkOption {
|
user = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue