diff --git a/modules/blocks/davfs.nix b/modules/blocks/davfs.nix index 05fe6be..3acafc8 100644 --- a/modules/blocks/davfs.nix +++ b/modules/blocks/davfs.nix @@ -87,7 +87,7 @@ in where = c.mountPoint; options = lib.concatStringsSep "," ( (lib.optional (!(isNull c.uid)) "uid=${toString c.uid}") - ++ (lib.optional (!(isNull c.gid)) "gid=${toString c.uid}") + ++ (lib.optional (!(isNull c.gid)) "gid=${toString c.gid}") ++ (lib.optional (!(isNull c.fileMode)) "file_mode=${toString c.fileMode}") ++ (lib.optional (!(isNull c.directoryMode)) "dir_mode=${toString c.directoryMode}") );