fix webdav field
This commit is contained in:
parent
af71513dcf
commit
d35b4b4f38
1 changed files with 2 additions and 1 deletions
|
@ -18,6 +18,7 @@ in
|
||||||
{
|
{
|
||||||
options.shb.davfs = {
|
options.shb.davfs = {
|
||||||
mounts = lib.mkOption {
|
mounts = lib.mkOption {
|
||||||
|
default = [];
|
||||||
type = lib.types.listOf (lib.types.submodule {
|
type = lib.types.listOf (lib.types.submodule {
|
||||||
options = {
|
options = {
|
||||||
remoteUrl = lib.mkOption {
|
remoteUrl = lib.mkOption {
|
||||||
|
@ -100,7 +101,7 @@ in
|
||||||
++ (lib.optional (!(isNull c.directoryMode)) "dir_mode=${toString c.directoryMode}")
|
++ (lib.optional (!(isNull c.directoryMode)) "dir_mode=${toString c.directoryMode}")
|
||||||
);
|
);
|
||||||
type = "davfs";
|
type = "davfs";
|
||||||
mountConfig.TimeoutSet = 15;
|
mountConfig.TimeoutSec = 15;
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
map mkMountCfg cfg.mounts;
|
map mkMountCfg cfg.mounts;
|
||||||
|
|
Loading…
Reference in a new issue