From b84e38896b391fff3a7300fdfc076b603eb3a6db Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Mon, 13 Nov 2023 19:51:50 +0800 Subject: [PATCH] profiles/i18n: reformat code --- modules/nixos/profiles/i18n.nix | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/modules/nixos/profiles/i18n.nix b/modules/nixos/profiles/i18n.nix index 29bb099e..8de4b839 100644 --- a/modules/nixos/profiles/i18n.nix +++ b/modules/nixos/profiles/i18n.nix @@ -65,16 +65,14 @@ in (lib.mkIf cfg.fcitx5.enable { i18n.inputMethod = { enabled = "fcitx5"; - fcitx5 = { - addons = with pkgs; [ - fcitx5-lua - fcitx5-mozc - fcitx5-rime - fcitx5-table-extra - fcitx5-table-other - fcitx5-unikey - ]; - }; + fcitx5.addons = with pkgs; [ + fcitx5-lua + fcitx5-mozc + fcitx5-rime + fcitx5-table-extra + fcitx5-table-other + fcitx5-unikey + ]; }; }) ]);