add description
This commit is contained in:
parent
3f3f322999
commit
dfd49bfd52
1 changed files with 10 additions and 2 deletions
|
|
@ -302,17 +302,25 @@ in
|
||||||
enable = lib.mkEnableOption "Nextcloud External Storage App";
|
enable = lib.mkEnableOption "Nextcloud External Storage App";
|
||||||
userLocalMount = lib.mkOption {
|
userLocalMount = lib.mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
|
description = "If set, adds a local mount as external storage.";
|
||||||
type = lib.types.nullOr (lib.types.submodule {
|
type = lib.types.nullOr (lib.types.submodule {
|
||||||
options = {
|
options = {
|
||||||
directory = lib.mkOption {
|
directory = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
example = "/srv/nextcloud";
|
description = ''
|
||||||
|
Local directory on the filesystem to mount. Use `$user` and/or `$home`
|
||||||
|
which will be replaced by the user's name and home directory.
|
||||||
|
'';
|
||||||
|
example = "/srv/nextcloud/$user";
|
||||||
};
|
};
|
||||||
|
|
||||||
mountName = lib.mkOption {
|
mountName = lib.mkOption {
|
||||||
type = lib.types.str;
|
type = lib.types.str;
|
||||||
|
description = ''
|
||||||
|
Path of the mount in Nextcloud. Use `/` to mount as the root.
|
||||||
|
'';
|
||||||
default = "";
|
default = "";
|
||||||
example = "local";
|
example = [ "home" "/" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue