diff --git a/nixos/modules/services/nextcloud.nix b/nixos/modules/services/nextcloud.nix index 7f270ed..db1d0d7 100755 --- a/nixos/modules/services/nextcloud.nix +++ b/nixos/modules/services/nextcloud.nix @@ -98,8 +98,8 @@ in { }; systemd.tmpfiles.rules = [ - "Z ${nextcloud.paths.path0} 770 ${nextcloud.name} ${nextcloud.name} -" - "Z ${nextcloud.sops.path0} 770 ${nextcloud.name} ${nextcloud.name} -" + "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"];