summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-01-22 11:30:50 +0100
committerAlex Auvolat <alex@adnab.me>2024-01-22 11:30:50 +0100
commit5eadc4463b69de2601886ecb2852336ad326ff2f (patch)
tree69002a71480fcdda5b8598796c08241f998dad2d /nixos
parent6119d748c68972fac2053c7ff87e4f4a9cbba721 (diff)
downloaduser-config-5eadc4463b69de2601886ecb2852336ad326ff2f.tar.gz
user-config-5eadc4463b69de2601886ecb2852336ad326ff2f.zip
generalize fcitx5
Diffstat (limited to 'nixos')
-rw-r--r--nixos/common.nix4
-rw-r--r--nixos/kusanagi.nix5
2 files changed, 4 insertions, 5 deletions
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;