2021-12-28 17:47:07 +00:00
|
|
|
{ config, pkgs, ... }: {
|
2022-02-14 17:22:46 +00:00
|
|
|
home.packages = with pkgs; [ exa bat ripgrep vault age ];
|
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";
|
2022-02-14 17:22:46 +00:00
|
|
|
chaos_age = "age -i /usb/age-keys/chaoskey.priv";
|
|
|
|
chaos_pub = "cat /usb/age-keys/chaoskey.pub";
|
2021-12-27 09:46:15 +00:00
|
|
|
};
|
2022-02-13 13:57:39 +00:00
|
|
|
envExtra = ''
|
|
|
|
export VAULT_ADDR="https://vault.owo.monster"
|
|
|
|
'';
|
2021-12-27 09:46:15 +00:00
|
|
|
};
|
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
|
|
|
enableZshIntegration = true;
|
2021-12-21 00:07:05 +00:00
|
|
|
};
|
|
|
|
}
|