summaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
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;