nixfiles/home/base/zsh.nix

33 lines
737 B
Nix
Raw Normal View History

2021-12-28 17:47:07 +00:00
{ config, pkgs, ... }: {
2021-12-28 22:06:26 +00:00
home.packages = with pkgs; [ exa ripgrep vault ];
2021-12-27 09:46:15 +00:00
2021-12-21 00:07:05 +00:00
programs.zsh = {
enable = true;
2021-12-27 09:46:15 +00:00
enableSyntaxHighlighting = true;
enableAutosuggestions = true;
2021-12-26 14:07:09 +00:00
oh-my-zsh = {
2021-12-21 00:07:05 +00:00
enable = true;
theme = "afowler";
plugins = [ ];
};
2021-12-27 09:46:15 +00:00
shellAliases = {
2021-12-28 22:06:26 +00:00
nixdirfmt = "nixfmt $(fd -e nix)";
2021-12-27 09:46:15 +00:00
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";
};
};
programs.direnv = {
enable = true;
enableZshIntegration = true;
2021-12-21 00:07:05 +00:00
};
}