Fix input methods and add shell utils

This commit is contained in:
marc
2026-03-14 18:43:58 +01:00
parent e87b0ddd24
commit 4ac83de410
4 changed files with 23 additions and 10 deletions

View File

@@ -39,7 +39,7 @@
environment.pathsToLink = [ "/libexec" ];
environment.systemPackages = with pkgs; [
curl
htop
btop
pciutils
psmisc
];

View File

@@ -8,11 +8,21 @@ in
enable = lib.mkEnableOption "Basic shell utils";
};
config = lib.mkIf cfg.enable {
hm.programs = {
fzf = {
enable = true;
enableZshIntegration = true;
};
eza = {
enable = true;
enableZshIntegration = true;
};
};
environment.systemPackages = with pkgs; [
bat
eza
fd
fzf
jq
ripgrep
tldr

View File

@@ -22,7 +22,7 @@ in
};
environment.variables = {
GTK_IM_MODULE = "fcitx";
# GTK_IM_MODULE = "fcitx";
QT_IM_MODULE = "fcitx";
XMODIFIERS = "@im=fcitx";
};

View File

@@ -15,11 +15,14 @@ in
i18n.inputMethod = {
type = "fcitx5";
enable = true;
fcitx5.addons = with pkgs; [
fcitx5-mozc-ut
fcitx5-gtk
fcitx5-nord
];
fcitx5 = {
waylandFrontend = true;
addons = with pkgs; [
fcitx5-mozc-ut
fcitx5-gtk
fcitx5-nord
];
};
};
fonts.packages = with pkgs; [
@@ -29,7 +32,7 @@ in
];
environment.variables = {
GTK_IM_MODULE = "fcitx";
# GTK_IM_MODULE = "fcitx";
QT_IM_MODULE = "fcitx";
XMODIFIERS = "@im=fcitx";
};