diff options
author | lassulus <lass@aidsballs.de> | 2016-04-20 13:59:49 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-04-20 13:59:49 +0200 |
commit | 20d4383d1f0ed484e402478d92da24d4aed44285 (patch) | |
tree | 6b98426a82500911b34b5a2c7606b1a90ebe05fc /lass/2configs/websites/fritz.nix | |
parent | 18775d670660df408bb8310daa8b507b3b1a3f87 (diff) |
l 2 websites: use lass.mysqlBackup
Diffstat (limited to 'lass/2configs/websites/fritz.nix')
-rw-r--r-- | lass/2configs/websites/fritz.nix | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/lass/2configs/websites/fritz.nix b/lass/2configs/websites/fritz.nix index 0eff39908..b02c2e878 100644 --- a/lass/2configs/websites/fritz.nix +++ b/lass/2configs/websites/fritz.nix @@ -44,12 +44,14 @@ in { rootPassword = toString (<secrets/mysql_rootPassword>); }; - services.mysqlBackup = { + lass.mysqlBackup = { enable = true; - databases = [ - "eastuttgart_de" - ]; - location = "/bku/sql_dumps"; + config.fritz = { + password = toString (<secrets/mysql_rootPassword>); + databases = [ + "eastuttgart_de" + ]; + }; }; #lass.owncloud = { @@ -57,10 +59,4 @@ in { # instanceid = "oc8n8ddbftgh"; # }; #}; - - #services.mysql = { - # enable = true; - # package = pkgs.mariadb; - # rootPassword = toString (<secrets/mysql_rootPassword>); - #}; } |