nextcloud: migration changes
This commit is contained in:
parent
faddb9ea87
commit
7e17d77b1d
|
@ -1,6 +1,6 @@
|
||||||
{ config, pkgs, lib, ... }:
|
{ config, pkgs, lib, ... }:
|
||||||
let
|
let
|
||||||
domain = "nc.staging.${config.networking.domain}";
|
domain = "nc.${config.networking.domain}";
|
||||||
legacy_domain = "oc.${config.networking.domain}";
|
legacy_domain = "oc.${config.networking.domain}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
@ -74,6 +74,9 @@ in
|
||||||
preStart = pkgs.writeScript "nextcloud-preStart" ''
|
preStart = pkgs.writeScript "nextcloud-preStart" ''
|
||||||
# enable included LDAP app
|
# enable included LDAP app
|
||||||
${occ} app:enable user_ldap
|
${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
|
# set up new LDAP config if it does not exist
|
||||||
if ! ${occ} ldap:show-config s01 > /dev/null; then
|
if ! ${occ} ldap:show-config s01 > /dev/null; then
|
||||||
|
|
Loading…
Reference in a new issue