nixos/i18n.inputMethod.nabi: remove with lib;

This commit is contained in:
Felix Buehler 2024-08-30 00:46:28 +02:00
parent 3eb92bcce7
commit d5a377e94e

View File

@ -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 = {