diff --git a/makefu/2configs/deployment/owncloud.nix b/makefu/2configs/deployment/owncloud.nix index c6fb9c8e5..65ac5c184 100644 --- a/makefu/2configs/deployment/owncloud.nix +++ b/makefu/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"; + # }; }