[home/hypnos] adjust app
This commit is contained in:
@@ -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
|
||||
]
|
||||
);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
codex
|
||||
# 更新太慢了, 不用 nix 管了
|
||||
# codex
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user