Add proper japanese support
This commit is contained in:
parent
f251e8db9e
commit
4c34c2bf30
2 changed files with 10 additions and 4 deletions
|
@ -31,7 +31,6 @@
|
|||
|
||||
# Enable the KDE Plasma Desktop Environment.
|
||||
services.xserver.displayManager.sddm.enable = true;
|
||||
|
||||
# Configure keymap in X11
|
||||
# services.xserver = {
|
||||
# layout = "de";
|
||||
|
@ -84,6 +83,7 @@
|
|||
source-code-pro
|
||||
ttf_bitstream_vera
|
||||
inter
|
||||
noto-fonts-cjk-sans
|
||||
(nerdfonts.override {
|
||||
# Nerdfont Icons override
|
||||
fonts = [
|
||||
|
@ -129,8 +129,6 @@
|
|||
|
||||
# Apps
|
||||
appimage-run # Runs AppImages on NixOS
|
||||
fcitx5
|
||||
fcitx5-mozc
|
||||
webcord
|
||||
signal-desktop
|
||||
alacritty
|
||||
|
@ -167,6 +165,14 @@
|
|||
dconf.enable = true;
|
||||
};
|
||||
|
||||
i18n.inputMethod = {
|
||||
enabled = "fcitx5";
|
||||
fcitx5.addons = with pkgs; [
|
||||
fcitx5-mozc
|
||||
fcitx5-gtk
|
||||
];
|
||||
};
|
||||
|
||||
services = {
|
||||
printing = {
|
||||
# CUPS
|
||||
|
|
|
@ -24,8 +24,8 @@ function autostart.exec(awful)
|
|||
-- awful.spawn.with_shell("autocutsel -fork -selection PRIMARY")
|
||||
awful.spawn.with_shell("xmousepasteblock")
|
||||
awful.spawn.with_shell("xinput map-to-output 20 DVI-I")
|
||||
-- awful.spawn.with_shell("fcitx5 -d")
|
||||
awful.spawn.with_shell('dbus-daemon --session --address="unix:path=$XDG_RUNTIME_DIR/bus"')
|
||||
awful.spawn.with_shell("fcitx5 -d")
|
||||
end
|
||||
|
||||
return autostart
|
||||
|
|
Loading…
Reference in a new issue