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.
This commit is contained in:
Austin Horstman 2025-05-06 21:22:20 -05:00
parent 327885ceae
commit f78a171fe4

View file

@ -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";