diff --git a/hosts/configuration.nix b/hosts/configuration.nix index 374cbb9..97b373d 100644 --- a/hosts/configuration.nix +++ b/hosts/configuration.nix @@ -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 diff --git a/rsc/config/awesome/autostart.lua b/rsc/config/awesome/autostart.lua index 527d566..3562e80 100644 --- a/rsc/config/awesome/autostart.lua +++ b/rsc/config/awesome/autostart.lua @@ -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