From 5eadc4463b69de2601886ecb2852336ad326ff2f Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 22 Jan 2024 11:30:50 +0100 Subject: generalize fcitx5 --- nixos/common.nix | 4 ++++ nixos/kusanagi.nix | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) (limited to 'nixos') diff --git a/nixos/common.nix b/nixos/common.nix index d752325..3127abc 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -82,6 +82,10 @@ symbolsFile = ../xkb/symbols/fr-custom-lx; }; + # Input method for japanese + i18n.inputMethod.enabled = "fcitx5"; + i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ]; + # Enable CUPS to print documents. services.printing.enable = true; diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix index fbc78a5..d2cd13c 100644 --- a/nixos/kusanagi.nix +++ b/nixos/kusanagi.nix @@ -135,11 +135,6 @@ in services.avahi.nssmdns = true; services.avahi.openFirewall = true; - # ---- input method ---- - - i18n.inputMethod.enabled = "fcitx5"; - i18n.inputMethod.fcitx5.addons = [ pkgs.fcitx5-mozc ]; - # ---- other virtualisation.docker.enable = true; -- cgit v1.2.3