[home/hypnos] adjust app

This commit is contained in:
2026-04-03 21:47:06 +08:00
parent 3dc899eae2
commit 7c897c60dd
3 changed files with 19 additions and 1 deletions
+9
View File
@@ -29,6 +29,12 @@
# 外壳同款配色
programs.zsh.initContent = "zstyle ':prompt:grml:*:items:user' pre '%F{#82C8E5}'";
# 虽然有些邪恶, 但是有些应用必须用 brew 装更新才够快
programs.zsh.sessionVariables = {
PATH = "/opt/homebrew/bin:\$PATH";
TERM = "xterm-256color";
};
# 包
home.packages = (
with pkgs;
@@ -45,6 +51,7 @@
unar
tree
xz
pigz
# 命令行小工具
helix
@@ -65,6 +72,8 @@
# 其他软件开发包
rustup
fnm
opam
graphviz
]
);
+2 -1
View File
@@ -1,6 +1,7 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
codex
# 更新太慢了, 不用 nix 管了
# codex
];
}
+8
View File
@@ -24,3 +24,11 @@ export EDITOR=hx
alias dc="docker compose"
export PATH="$HOME/.local/bin:$PATH"
if command -v fnm &> /dev/null; then
eval "$(fnm env --use-on-cd --shell zsh)"
fi
if command -v opam &> /dev/null; then
eval $(opam env)
fi