diff options
author | lassulus <lass@aidsballs.de> | 2016-04-13 16:33:25 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-04-13 16:33:25 +0200 |
commit | c9c10168082f648b2d5c25355f55ab4dce885135 (patch) | |
tree | 6982fa05bc8b9e08467d228d8db7b181b546c766 /lass/2configs/websites/fritz.nix | |
parent | 54ec57b51126991409ef2f77b1652496ffc8560f (diff) |
l 2 websites fritz: activate mysql & mysqlBackup
Diffstat (limited to 'lass/2configs/websites/fritz.nix')
-rw-r--r-- | lass/2configs/websites/fritz.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lass/2configs/websites/fritz.nix b/lass/2configs/websites/fritz.nix index 7a35ba75b..c022dfbe2 100644 --- a/lass/2configs/websites/fritz.nix +++ b/lass/2configs/websites/fritz.nix @@ -38,6 +38,20 @@ in { ( servePage [ "habsys.de" ]) ]; + services.mysql = { + enable = true; + package = pkgs.mariadb; + rootPassword = toString (<secrets/mysql_rootPassword>); + }; + + services.mysqlBackup = { + enable = true; + databases = [ + "eastuttgart_de" + ]; + location = "/bku/sql_dumps"; + }; + #lass.owncloud = { # "o.ubikmedia.de" = { # instanceid = "oc8n8ddbftgh"; |