nextcloud: migration changes

This commit is contained in:
Lyn Fugmann 2023-11-08 18:40:11 +01:00
parent faddb9ea87
commit 7e17d77b1d
Signed by: fugi
GPG key ID: 4472A20091BFA792

View file

@ -1,6 +1,6 @@
{ config, pkgs, lib, ... }:
let
domain = "nc.staging.${config.networking.domain}";
domain = "nc.${config.networking.domain}";
legacy_domain = "oc.${config.networking.domain}";
in
{
@ -74,6 +74,9 @@ in
preStart = pkgs.writeScript "nextcloud-preStart" ''
# enable included LDAP app
${occ} app:enable user_ldap
${occ} app:enable calendar
${occ} app:enable tasks
${occ} app:enable polls
# set up new LDAP config if it does not exist
if ! ${occ} ldap:show-config s01 > /dev/null; then