diff --git a/modules/programs/htop.nix b/modules/programs/htop.nix index 730bb5d52..b04366b12 100644 --- a/modules/programs/htop.nix +++ b/modules/programs/htop.nix @@ -587,7 +587,7 @@ in { warn' = warn "htop: programs.htop.${optionKey} is deprecated; please is programs.htop.settings.${settingsKey} instead"; in if !isNull optionValue then - warn' settingsKey optionKey optionValue + warn' optionValue else if hasAttr settingsKey cfg.settings then cfg.settings.${settingsKey} else