1
0
Fork 0

fix webdav field

This commit is contained in:
ibizaman 2023-11-08 12:28:15 -08:00
parent af71513dcf
commit d35b4b4f38

View file

@ -18,6 +18,7 @@ in
{
options.shb.davfs = {
mounts = lib.mkOption {
default = [];
type = lib.types.listOf (lib.types.submodule {
options = {
remoteUrl = lib.mkOption {
@ -100,7 +101,7 @@ in
++ (lib.optional (!(isNull c.directoryMode)) "dir_mode=${toString c.directoryMode}")
);
type = "davfs";
mountConfig.TimeoutSet = 15;
mountConfig.TimeoutSec = 15;
};
in
map mkMountCfg cfg.mounts;