summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-03-01 15:54:39 +0100
committermakefu <github@syntax-fehler.de>2017-03-05 16:58:40 +0100
commit798e80de7c522afbf619ab4b1519849f2c33ca9b (patch)
treeaa323ac1ef54e0ce9fe06275ee79dc722c9582bd
parent1135487724b442b78d7f4d863c02ab6b7fb801b2 (diff)
m 2 owncloud: do not use mysql
-rw-r--r--makefu/2configs/deployment/owncloud.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/makefu/2configs/deployment/owncloud.nix b/makefu/2configs/deployment/owncloud.nix
index d692ef72d..c6fb9c8e5 100644
--- a/makefu/2configs/deployment/owncloud.nix
+++ b/makefu/2configs/deployment/owncloud.nix
@@ -131,11 +131,15 @@ in {
( serveCloud [ "o.euer.krebsco.de" ] )
];
- services.mysql = {
- enable = true;
+ services.mysql = { # TODO: currently nextcloud uses sqlite
+ enable = false;
package = pkgs.mariadb;
rootPassword = config.krebs.secret.files.mysql_rootPassword.path;
};
+ services.mysqlBackup = {
+ enable = false;
+ databases = [ "nextcloud" ];
+ };
krebs.secret.files.mysql_rootPassword = {
path = "${config.services.mysql.dataDir}/mysql_rootPassword";