fix nextcloud and modularize

This commit is contained in:
2026-03-20 23:02:58 +01:00
parent 96e04eb251
commit 703663da1f
3 changed files with 18 additions and 10 deletions
+17
View File
@@ -0,0 +1,17 @@
EXPORT NC_USER="mathias"
EXPORT NC_PASSWORD="$(rbw get Nextcloud)"
# Setup rbw
rbw config set email mathias2784@web.de
rbw register
nextcloudcmd --non-interactive \
~/nextcloud \
https://nextcloud.schneiderserver.site
# Nextcloud
if [ ! -d "$HOME/nextcloud/local_configs" ]; then
echo "Fehler: Benötige $HOME/nextcloud/local_configs" >&2
exit 1
fi
stow --dir=$HOME/nextcloud/local_configs default