mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 04:39:23 +08:00
@@ -50,22 +50,18 @@ inputs:
|
||||
};
|
||||
systemd.services.display-manager.after = [ "plymouth-quit.service" ];
|
||||
# 在 chromium 中输入汉字有可能会漏字,需要这个配置
|
||||
nixos.user.sharedModules = [(hmInputs:
|
||||
nixos.user.sharedModules = [(hmInputs: { gtk =
|
||||
{
|
||||
gtk =
|
||||
enable = true;
|
||||
iconTheme.name = "klassy";
|
||||
gtk2 =
|
||||
{
|
||||
enable = true;
|
||||
iconTheme.name = "klassy";
|
||||
gtk2 =
|
||||
{
|
||||
extraConfig = ''gtk-im-module="fcitx"'';
|
||||
configLocation = "${hmInputs.config.xdg.configHome}/gtk-2.0/gtkrc";
|
||||
};
|
||||
gtk3.extraConfig.gtk-im-module = "fcitx";
|
||||
gtk4.extraConfig.gtk-im-module = "fcitx";
|
||||
extraConfig = ''gtk-im-module="fcitx"'';
|
||||
configLocation = "${hmInputs.config.xdg.configHome}/gtk-2.0/gtkrc";
|
||||
};
|
||||
home.file."${hmInputs.config.xdg.configHome}/gtk-2.0/gtkrc".force = true;
|
||||
})];
|
||||
gtk3.extraConfig.gtk-im-module = "fcitx";
|
||||
gtk4.extraConfig.gtk-im-module = "fcitx";
|
||||
};})];
|
||||
})
|
||||
# prefer gui or not
|
||||
(inputs.localLib.mkConditional (builtins.elem inputs.config.nixos.model.type [ "desktop" ])
|
||||
|
||||
Reference in New Issue
Block a user