summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/deployment/owncloud.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-03-05 17:01:57 +0100
committertv <tv@krebsco.de>2017-03-05 17:01:57 +0100
commit23a79b8fb02b3bebfb377f2b236432ff9a73343a (patch)
tree494bcb3bb57b397bab756aebe86e85dbd5a2a2fd /makefu/2configs/deployment/owncloud.nix
parentfd6c056a720544319f02cf02b64fa8dd2b657aa8 (diff)
parentcb48e9371a337d23e1f3f09b5d024ee60451d9d2 (diff)
Merge remote-tracking branch 'gum/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";