diff --git a/modules/davfs.nix b/modules/davfs.nix index 7335fde..8261932 100644 --- a/modules/davfs.nix +++ b/modules/davfs.nix @@ -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;