diff --git a/fcitx5/default.nix b/fcitx5/default.nix index 77f1694..73091b5 100644 --- a/fcitx5/default.nix +++ b/fcitx5/default.nix @@ -1,3 +1,5 @@ +{ pkgs, ... }: + { i18n.inputMethod = { enabled = "fcitx5"; @@ -11,4 +13,14 @@ XMODIFIERS = "@im=fcitx"; GLFW_IM_MODULE = "ibus"; # IME support in anthy }; + + home.file = { + ".local/share/fcitx5/themes/Nord-Dark".source = let repo = pkgs.fetchFromGitHub { + owner = "tonyfettes"; + repo = "fcitx5-nord"; + rev = "bdaa8fb723b8d0b22f237c9a60195c5f9c9d74d1"; + sha256 = "qVo/0ivZ5gfUP17G29CAW0MrRFUO0KN1ADl1I/rvchE="; + }; in "${repo}/Nord-Dark"; + ".config/fcitx5/conf/classicui.conf".text = "Theme=Nord-Dark"; + }; }