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:
parent
327885ceae
commit
f78a171fe4
1 changed files with 3 additions and 3 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue