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.pathsToLink = [ "/libexec" ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
curl curl
htop btop
pciutils pciutils
psmisc psmisc
]; ];

View File

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

View File

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

View File

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