};
};
};
+ mariadb = {
+ enable = true;
+ base = "/backup2";
+ hosts = {
+ eldiron = {
+ serverId = 2;
+ # mysql resolves "backup-2" host and checks the ip, but uses /etc/hosts which only contains ip4
+ host = myconfig.env.servers.eldiron.ips.main.ip4;
+ port = "3306";
+ user = "backup-2";
+ password = myconfig.env.ldap.backup-2.password;
+ dumpUser = "root";
+ dumpPassword = myconfig.env.databases.mysql.systemUsers.root;
+ };
+ };
+ };
};
# This value determines the NixOS release with which your system is