diff --git a/nixos/modules/services/nextcloud.nix b/nixos/modules/services/nextcloud.nix index 937895f..9cda6d9 100755 --- a/nixos/modules/services/nextcloud.nix +++ b/nixos/modules/services/nextcloud.nix @@ -103,17 +103,17 @@ in { ); }; - # fileSystems."/var/lib/${nextcloud.name}" = { - # device = nextcloud.paths.path0; - # fsType = "none"; - # options = ["bind"]; - # depends = [server.storage0.mount]; - # }; + fileSystems."/var/lib/${nextcloud.name}" = { + device = nextcloud.paths.path0; + fsType = "none"; + options = ["bind"]; + depends = [server.storage0.mount]; + }; - # systemd.tmpfiles.rules = [ - # "Z ${nextcloud.paths.path0} 750 ${nextcloud.name} ${nextcloud.name} -" - # "Z ${nextcloud.sops.path0} 750 ${nextcloud.name} ${nextcloud.name} -" - # ]; + systemd.tmpfiles.rules = [ + "Z ${nextcloud.paths.path0} 750 ${nextcloud.name} ${nextcloud.name} -" + # "Z ${nextcloud.sops.path0} 750 ${nextcloud.name} ${nextcloud.name} -" + ]; users.users.${nextcloud.name}.extraGroups = ["caddy" "nginx" "postgres"];