From ff5a13c6ce29321e86914c4b6f36480fae3c42c2 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Tue, 3 Sep 2024 07:07:13 +0200 Subject: [PATCH] fix davfs gid --- modules/blocks/davfs.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}") );