From f78a171fe4e6a6e0ae5c33c5be8abe72e8a43eb3 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Tue, 6 May 2025 21:22:20 -0500 Subject: [PATCH] mako: use toKebabCase for option transformation Update mako module to pass lib.hm.strings.toKebabCase to the mkSettingsRenamedOptionModules function, which ensures option names are properly converted to kebab-case format. --- modules/services/mako.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/services/mako.nix b/modules/services/mako.nix index 6a1f5e93..869de017 100644 --- a/modules/services/mako.nix +++ b/modules/services/mako.nix @@ -65,9 +65,9 @@ in ] "Use services.mako.settings instead.") (lib.mkRenamedOptionModule [ "services" "mako" "criterias" ] [ "services" "mako" "criteria" ]) ] - ++ lib.deprecations.mkSettingsRenamedOptionModules basePath ( - basePath ++ [ "settings" ] - ) renamedOptions; + ++ lib.hm.deprecations.mkSettingsRenamedOptionModules basePath (basePath ++ [ "settings" ]) { + transform = lib.hm.strings.toKebabCase; + } renamedOptions; options.services.mako = { enable = mkEnableOption "mako";