restructured and optimized content

This commit is contained in:
2025-04-21 14:21:37 +08:00
parent e1d5d900fb
commit 4af72b9d39
28 changed files with 632 additions and 609 deletions

View File

@@ -12,13 +12,12 @@
# inputs.nix-colors.homeManagerModules.default
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
./core.nix
../modules/home/hyprland
../modules/home/vscode
../modules/home/v2ray
../modules/home/xdg.nix
../modules/home/theme.nix
../modules/home/fcitx.nix
];
home = {
@@ -27,58 +26,24 @@
bc # GNU software calculator
vlc
imv
motrix
microsoft-edge
telegram-desktop
# firefox
# chromium
zip
unzip
lsof
htop
pciutils # lspci etc.
steam-run
frp
obsidian
wpsoffice-cn
xorg.xhost
dbeaver
postman
# jdk
nodejs
yarn
flutter
oraclejdk
jetbrains.idea-community
# nur.repos.linyinfeng.wemeet
];
sessionVariables = {
JAVA_HOME = "${pkgs.oraclejdk}";
XIM = "fcitx";
XIM_PROGRAM = "fcitx";
XMODIFIERS = "@im=fcitx";
};
};
programs = {
bash = {
initExtra = ''
export XIM="fcitx"
export XIM_PROGRAM="fcitx"
export XMODIFIERS="@im=fcitx"
'';
JAVA_HOME = "";
};
};
i18n.inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-chinese-addons
];
};
# Enable home-manager and git
programs = {