nixfiles/home/base/zsh.nix
ChaotiCryptidz 26190df018 pavucontrol
2022-02-13 13:57:39 +00:00

36 lines
819 B
Nix

{ config, pkgs, ... }: {
home.packages = with pkgs; [ exa bat ripgrep vault ];
programs.zsh = {
enable = true;
enableSyntaxHighlighting = true;
enableAutosuggestions = true;
oh-my-zsh = {
enable = true;
theme = "afowler";
plugins = [ ];
};
shellAliases = {
nixdirfmt = "nixfmt $(fd -e nix)";
exa = "exa --time-style long-iso";
ls = "exa -G";
la = "exa -Ga";
ll = "exa -l";
lla = "exa -lga";
sys = "systemctl";
sysu = "systemctl --user";
logu = "journalctl --user";
log = "journalctl";
dmesg = "dmesg -HP";
hg = "history 0 | rg";
};
envExtra = ''
export VAULT_ADDR="https://vault.owo.monster"
'';
};
programs.direnv = {
enable = true;
enableZshIntegration = true;
};
}