summaryrefslogtreecommitdiffstats
path: root/2configs/deployment
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2022-11-01 11:40:44 +0100
committermakefu <github@syntax-fehler.de>2022-11-01 11:40:44 +0100
commitbbc96ee973f0a6b9a0e2bc1aa78255c1b9fc6a0b (patch)
treefa8c5dae8c2290ef444643c8a29e5e38e642fdc4 /2configs/deployment
parentf796a0e8197336a4f406105e1751003e9cbe02f7 (diff)
ma owncloud: wait for cloud to be mounted
Diffstat (limited to '2configs/deployment')
-rw-r--r--2configs/deployment/owncloud.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/2configs/deployment/owncloud.nix b/2configs/deployment/owncloud.nix
index b660720e5..36c67c7f0 100644
--- a/2configs/deployment/owncloud.nix
+++ b/2configs/deployment/owncloud.nix
@@ -23,9 +23,11 @@ in {
fileSystems."/var/lib/nextcloud/data" = {
device = "/media/cloud/nextcloud-data";
options = [ "bind" ];
+ depends = [ "/media/cloud" ];
};
+
krebs.secret.files.nextcloud-db-pw = {
path = dbpw;
owner.name = "nextcloud";