fix: add sessionVariables, PATH with pi-node, fastfetch alias
This commit is contained in:
parent
176508bc74
commit
65f8b01287
3 changed files with 15 additions and 0 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
tree
|
tree
|
||||||
htop
|
htop
|
||||||
tldr
|
tldr
|
||||||
|
fastfetch
|
||||||
];
|
];
|
||||||
|
|
||||||
# FZF fuzzy finder
|
# FZF fuzzy finder
|
||||||
|
|
|
||||||
|
|
@ -8,4 +8,14 @@
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|
||||||
programs.git.enable = true;
|
programs.git.enable = true;
|
||||||
|
|
||||||
|
home.sessionVariables = {
|
||||||
|
SEARXNG_URL = "https://search.iscg.dev";
|
||||||
|
PATH = "/etc/profiles/per-user/michaotic/bin:$HOME/.nix-profile/bin:$HOME/bin:$HOME/.local/bin:$HOME/.npm-global/bin:/Users/michaotic/.opencode/bin:/Users/michaotic/.local/share/pi-node/node-v22.23.1-darwin-arm64/bin";
|
||||||
|
# OPENROUTER_API_KEY = ""; # TODO: move to sops-nix secrets
|
||||||
|
SOPS_AGE_KEY_FILE = "$HOME/.config/sops/age/keys.txt";
|
||||||
|
EDITOR = "micro";
|
||||||
|
VISUAL = "micro";
|
||||||
|
KUBECONFIG = "$HOME/.kube/config-jul11";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -43,10 +43,14 @@
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ll = "eza -l --icons --git";
|
ll = "eza -l --icons --git";
|
||||||
la = "eza -la --icons --git";
|
la = "eza -la --icons --git";
|
||||||
|
ff = "fastfetch";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Init content - runs on shell start
|
# Init content - runs on shell start
|
||||||
initContent = ''
|
initContent = ''
|
||||||
|
# Show fastfetch on shell start
|
||||||
|
fastfetch
|
||||||
|
|
||||||
# Load pure prompt
|
# Load pure prompt
|
||||||
autoload -U promptinit; promptinit
|
autoload -U promptinit; promptinit
|
||||||
prompt pure
|
prompt pure
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue