summaryrefslogtreecommitdiffstats
path: root/makefu/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
commit02a84bdb5605199da13ad3a3c5cb576ccf9f1c8d (patch)
treef2494da1a1c010ce86ddcf75da7901f5f4e461a6 /makefu/2configs/deployment
parent5c922efff4fbcfed21482b6e90a1d0bee1deef5b (diff)
ma owncloud: wait for cloud to be mounted
Diffstat (limited to 'makefu/2configs/deployment')
-rw-r--r--makefu/2configs/deployment/owncloud.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/makefu/2configs/deployment/owncloud.nix b/makefu/2configs/deployment/owncloud.nix
index b660720e5..36c67c7f0 100644
--- a/makefu/2configs/deployment/owncloud.nix
+++ b/makefu/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";