home/fcitx5: force install profile on activation

This commit is contained in:
2024-06-25 20:36:27 +02:00
parent de6e83649e
commit 00a536c457

View File

@@ -17,7 +17,9 @@ in
xdg.configFile = let xdg.configFile = let
format = pkgs.formats.ini { }; format = pkgs.formats.ini { };
in { in {
"fcitx5/profile".source = format.generate "fcitx5-profile" { "fcitx5/profile" = {
force = true;
source = format.generate "fcitx5-profile" {
"Groups/0" = { "Groups/0" = {
Name = "Default"; Name = "Default";
"Default Layout" = "us"; "Default Layout" = "us";
@@ -39,6 +41,7 @@ in
"0" = "Default"; "0" = "Default";
}; };
}; };
};
"fcitx5/config".source = format.generate "fcitx5-config" { "fcitx5/config".source = format.generate "fcitx5-config" {
Hotkey = { Hotkey = {