2023-06-09 16:25:33 +00:00
|
|
|
{ dotfiles, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
initExtra = ''
|
|
|
|
export GPG_TTY=$(tty)
|
|
|
|
source ${dotfiles}/zsh/zshrc
|
2023-06-09 21:04:58 +00:00
|
|
|
|
2023-06-20 13:38:48 +00:00
|
|
|
[[ -d "$HOME/.local/bin" ]] || mkdir "$HOME/.local/bin"
|
|
|
|
|
|
|
|
export PATH="$PATH:$HOME/.local/bin"
|
2023-06-09 21:04:58 +00:00
|
|
|
export PATH="$PATH:$HOME/.npm-packages/bin"
|
2023-06-13 13:42:03 +00:00
|
|
|
export FRENYARD_SCALE=2.40
|
|
|
|
export RETHINK_API="https://rethink.alyxia.dev"
|
2023-09-25 11:47:34 +00:00
|
|
|
export KUBECONFIG="$HOME/.kube/config.yaml"
|
2023-08-01 11:13:20 +00:00
|
|
|
|
|
|
|
function violent-update() {
|
|
|
|
# <https://github.com/adryd325/dotfiles/blob/c52d10f0cb4b54ee46e2ac5b01b8be9f8d57973d/install.sh#L17>
|
|
|
|
sudo -v; while true; do sudo -n true; sleep 60; kill -0 "$$" || exit; done 2>/dev/null &
|
|
|
|
cd "$HOME/.dotfiles/nix";
|
|
|
|
sudo nix-channel --update && nix-channel --update;
|
|
|
|
sudo nix-env -u;
|
|
|
|
}
|
2023-06-09 16:25:33 +00:00
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|