From 59e79d64ffba49d77276e2547e615cf0145b3e53 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 27 Nov 2025 02:04:47 +0100 Subject: [PATCH] nixos/firefox-syncserver: fix local database access Local database creation always assumed UNIX socket accces. During the 25.11 release cycle this seemingly changed and we now need to be explicit. --- nixos/modules/services/networking/firefox-syncserver.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/services/networking/firefox-syncserver.nix b/nixos/modules/services/networking/firefox-syncserver.nix index 56f204c50c7c..6a50e49fc096 100644 --- a/nixos/modules/services/networking/firefox-syncserver.nix +++ b/nixos/modules/services/networking/firefox-syncserver.nix @@ -13,7 +13,7 @@ let defaultUser = "firefox-syncserver"; dbIsLocal = cfg.database.host == "localhost"; - dbURL = "mysql://${cfg.database.user}@${cfg.database.host}/${cfg.database.name}"; + dbURL = "mysql://${cfg.database.user}@${cfg.database.host}/${cfg.database.name}${lib.optionalString dbIsLocal "?socket=/run/mysqld/mysqld.sock"}"; format = pkgs.formats.toml { }; settings = {