39 lines
1,014 B
Nix
39 lines
1,014 B
Nix
{ config, pkgs, ... }:
|
|
let usb_data = import ../../hosts/lappy/hardware/usb_data.nix { };
|
|
in {
|
|
home.packages = with pkgs; [ exa bat ripgrep vault age ];
|
|
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";
|
|
chaos_age = "age -i ${usb_data.chaos_age_privkey_path}";
|
|
chaos_pub = "cat ${usb_data.chaos_age_pubkey_path}";
|
|
};
|
|
envExtra = ''
|
|
export VAULT_ADDR="https://vault.owo.monster"
|
|
'';
|
|
};
|
|
programs.direnv = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
}
|