From 152c9029b53f759ae633a218ff0cf2f51b92b377 Mon Sep 17 00:00:00 2001
From: ibizaman <ibizapeanut@gmail.com>
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}")
           );