diff --git a/nixos/modules/i18n/input-method/nabi.nix b/nixos/modules/i18n/input-method/nabi.nix index 0eb9a7c825c8..af01d1b0676d 100644 --- a/nixos/modules/i18n/input-method/nabi.nix +++ b/nixos/modules/i18n/input-method/nabi.nix @@ -1,11 +1,9 @@ { config, pkgs, lib, ... }: - -with lib; let imcfg = config.i18n.inputMethod; in { - config = mkIf (imcfg.enable && imcfg.type == "nabi") { + config = lib.mkIf (imcfg.enable && imcfg.type == "nabi") { i18n.inputMethod.package = pkgs.nabi; environment.variables = {