54 lines
1.0 KiB
Nix
54 lines
1.0 KiB
Nix
{pkgs, ...}: {
|
|
programs = {
|
|
zsh = {
|
|
enable = true;
|
|
envExtra = ''
|
|
eval "$(/opt/homebrew/bin/brew shellenv)"
|
|
export PATH="/opt/homebrew/bin:$PATH"
|
|
|
|
export BUN_INSTALL="$HOME/.bun"
|
|
export PATH="$BUN_INSTALL/bin:$PATH"
|
|
'';
|
|
shellAliases = {
|
|
ls = "lsd";
|
|
lg = "lazygit";
|
|
neofetch = "fastfetch";
|
|
nv = "nvim";
|
|
python = "python3";
|
|
};
|
|
syntaxHighlighting.enable = true;
|
|
};
|
|
|
|
btop = {
|
|
enable = true;
|
|
settings = {
|
|
theme_background = false;
|
|
presets = "cpu:0:default mem:0:default net:0:default";
|
|
proc_sorting = "memory";
|
|
update_ms = 1000;
|
|
vim_keys = true;
|
|
};
|
|
};
|
|
|
|
fzf = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
|
|
lazygit.enable = true;
|
|
|
|
ripgrep.enable = true;
|
|
|
|
zoxide = {
|
|
enable = true;
|
|
options = ["--cmd cd"];
|
|
};
|
|
};
|
|
|
|
# environment.sessionVariables = {};
|
|
|
|
home.packages = [
|
|
pkgs.lsd
|
|
];
|
|
}
|