From f373e772781c9d1cdbe2f97ef3791a7b41ac0657 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Wed, 11 Feb 2026 15:36:27 +0100 Subject: Nixfmt --- services/mysql.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'services/mysql.nix') diff --git a/services/mysql.nix b/services/mysql.nix index 06edfcb..1c0a785 100644 --- a/services/mysql.nix +++ b/services/mysql.nix @@ -26,7 +26,9 @@ let ALTER USER IF EXISTS '${name}'@'${ucfg.host}' IDENTIFIED BY '${ucfg.sopsPlaceholder}'; CREATE USER IF NOT EXISTS '${name}'@'${ucfg.host}' IDENTIFIED BY '${ucfg.sopsPlaceholder}'; '' - + (lib.concatMapAttrsStringSep "\n" (priviledge_clause "'${name}'@'${ucfg.host}'") (create_users_ensure name)) + + (lib.concatMapAttrsStringSep "\n" (priviledge_clause "'${name}'@'${ucfg.host}'") ( + create_users_ensure name + )) ) else " -- Ommitted user ${name}"; @@ -84,10 +86,10 @@ in allowedRanges = mkOption { type = types.listOf types.str; }; - host = mkOption { - type = types.str; - default = "%"; - }; + host = mkOption { + type = types.str; + default = "%"; + }; }; } ); -- cgit v1.3.1