diff --git a/tests/mysql-replication.nix b/tests/mysql-replication.nix index 836495a9e938..db72e45f6859 100644 --- a/tests/mysql-replication.nix +++ b/tests/mysql-replication.nix @@ -27,7 +27,7 @@ in services.mysql.enable = true; services.mysql.replication.role = "slave"; services.mysql.replication.serverId = 2; - services.mysql.replication.masterHost = "${nodes.master.config.networking.hostName}"; + services.mysql.replication.masterHost = nodes.master.config.networking.hostName; services.mysql.replication.masterUser = replicateUser; services.mysql.replication.masterPassword = replicatePassword; }; @@ -39,7 +39,7 @@ in services.mysql.enable = true; services.mysql.replication.role = "slave"; services.mysql.replication.serverId = 3; - services.mysql.replication.masterHost = "${nodes.master.config.networking.hostName}"; + services.mysql.replication.masterHost = nodes.master.config.networking.hostName; services.mysql.replication.masterUser = replicateUser; services.mysql.replication.masterPassword = replicatePassword; };