Fix input methods and add shell utils
This commit is contained in:
@@ -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
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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";
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user