From b207dfa2659aa5873faef71e34890ee7ce3a437a Mon Sep 17 00:00:00 2001 From: makefu Date: Fri, 28 Jul 2017 23:05:16 +0200 Subject: [PATCH] ma owncloud: disable mysql.dataDir rootPassword deployment for now --- 2configs/deployment/owncloud.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/2configs/deployment/owncloud.nix b/2configs/deployment/owncloud.nix index c6fb9c8..65ac5c1 100644 --- a/2configs/deployment/owncloud.nix +++ b/2configs/deployment/owncloud.nix @@ -140,10 +140,10 @@ in { enable = false; databases = [ "nextcloud" ]; }; - - krebs.secret.files.mysql_rootPassword = { - path = "${config.services.mysql.dataDir}/mysql_rootPassword"; - owner.name = "root"; - source-path = toString + "/mysql_rootPassword"; - }; + # dataDir is only defined after mysql is enabled + # krebs.secret.files.mysql_rootPassword = { + # path = "${config.services.mysql.dataDir}/mysql_rootPassword"; + # owner.name = "root"; + # source-path = toString + "/mysql_rootPassword"; + # }; }