about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2024-03-02 10:54:19 -0500
committerGitHub <noreply@github.com>2024-03-02 10:54:19 -0500
commit2646fba84dd03670fde0525d527c05ce102cd042 (patch)
tree829ff10823ccf5d3caf34d81d52555840e57bf61 /nixos
parente48c7c108210700f77aa40ca149f2e9b2bfe941f (diff)
parent48e5de444bc508fc37d253b0d7b071c6fe0747b5 (diff)
Merge pull request #292702 from NickCao/fcitx5-plasma6
nixos/fcitx5: enable plasma6Support by default if plasma6 is enabled
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/i18n/input-method/fcitx5.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/i18n/input-method/fcitx5.nix b/nixos/modules/i18n/input-method/fcitx5.nix
index 2e87705c6dc2d..ee8d2652b1c72 100644
--- a/nixos/modules/i18n/input-method/fcitx5.nix
+++ b/nixos/modules/i18n/input-method/fcitx5.nix
@@ -32,7 +32,8 @@ in
       };
       plasma6Support = mkOption {
         type = types.bool;
-        default = false;
+        default = config.services.xserver.desktopManager.plasma6.enable;
+        defaultText = literalExpression "config.services.xserver.desktopManager.plasma6.enable";
         description = lib.mdDoc ''
           Use qt6 versions of fcitx5 packages.
           Required for configuring fcitx5 in KDE System Settings.