From 5b2ca5141c4801662c8a2f7c9709ecd6ee3466ac Mon Sep 17 00:00:00 2001 From: Jonas Gaffke Date: Fri, 2 Feb 2024 21:13:44 +0100 Subject: [PATCH] mysql: bind to localhost --- modules/mysql.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/mysql.nix b/modules/mysql.nix index 30be17e..0571680 100644 --- a/modules/mysql.nix +++ b/modules/mysql.nix @@ -3,5 +3,6 @@ services.mysql = { enable = true; package = pkgs.mariadb; + settings.mysqld.bind_address = "127.0.0.1"; }; }