diff options
author | tv <tv@krebsco.de> | 2017-10-03 18:48:18 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-10-03 18:48:18 +0200 |
commit | d567c2c21e0fe029a069edda8eda28cd24771511 (patch) | |
tree | bcc1ea51b71b22c18ac653a1b4aded927e6c173e /lass/2configs/websites | |
parent | 32a8fc0396769946242ef8c1a48fb64ae572e0db (diff) | |
parent | 902a65304d1e07ce5a7192a0403d6fa1bed1f135 (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/2configs/websites')
-rw-r--r-- | lass/2configs/websites/sqlBackup.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lass/2configs/websites/sqlBackup.nix b/lass/2configs/websites/sqlBackup.nix index 7cb4b320e..2fffa6cc9 100644 --- a/lass/2configs/websites/sqlBackup.nix +++ b/lass/2configs/websites/sqlBackup.nix @@ -3,12 +3,13 @@ { krebs.secret.files.mysql_rootPassword = { path = "${config.services.mysql.dataDir}/mysql_rootPassword"; - owner.name = "root"; + owner.name = "mysql"; source-path = toString <secrets> + "/mysql_rootPassword"; }; services.mysql = { enable = true; + dataDir = "/var/mysql"; package = pkgs.mariadb; rootPassword = config.krebs.secret.files.mysql_rootPassword.path; }; |