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 = { 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;