diff options
author | makefu <github@syntax-fehler.de> | 2017-10-07 11:08:13 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-10-07 11:08:13 +0200 |
commit | 8290c6507e500c1899f4a7d1184ef5b24c8132cb (patch) | |
tree | 91d64e1cc20647acce06f7f28da46b58e5dd2571 /lass/2configs/websites/sqlBackup.nix | |
parent | 52f9105027a7c2d70145d7d2db69452e148b2158 (diff) | |
parent | a8db051451d2827d7c7ad38f005284013e63c039 (diff) |
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'lass/2configs/websites/sqlBackup.nix')
-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; }; |