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

This commit is contained in:
Felix Buehler 2024-08-30 00:46:28 +02:00
parent 1cd3957e37
commit 17c011592a

View File

@ -1,12 +1,9 @@
{ config, pkgs, lib, ... }:
with lib;
let
imcfg = config.i18n.inputMethod;
in
{
config = mkIf (imcfg.enable && imcfg.type == "hime") {
config = lib.mkIf (imcfg.enable && imcfg.type == "hime") {
i18n.inputMethod.package = pkgs.hime;
environment.variables = {
GTK_IM_MODULE = "hime";