summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/deployment/owncloud.nix
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-03-07 19:44:03 +0100
committerlassulus <lass@lassul.us>2017-03-07 19:44:03 +0100
commit8061bed274adf680aa4cd68c5ca052fdf7743f55 (patch)
tree2edc06fa450aef2ea0e74943b13082e18d149154 /makefu/2configs/deployment/owncloud.nix
parente1045698d6e563ec9ad10cb1b0036252a34a010a (diff)
parentc04b08ab7e7967038e5ce9b494aafbbfc206d307 (diff)
Merge remote-tracking branch 'onondaga/master'
Diffstat (limited to 'makefu/2configs/deployment/owncloud.nix')
-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";