This commit is contained in:
2023-02-23 12:00:21 -05:00
parent 97c4114aba
commit 0a0058b1f6

View File

@@ -64,24 +64,19 @@ programs = {
yt-dlp.enable = true;
bash = {
enable = true;
bashrcExtra = ''
export DOCKER_HOST="tcp://192.168.1.223:2375";
export NOMAD_ADDR="http://192.168.1.250:4646";
export TERM="xterm-256color";
export ANSIBLE_HOST_KEY_CHECKING=False
export HSTR_CONFIG=hicolor # get more colors
shopt -s histappend # append new history items to .bash_history
export HISTCONTROL=ignorespace # leading space hides commands from history
# ensure synchronization between bash memory and history file
export PROMPT_COMMAND="history -a;"
historyControl = [ignorespace];
shellOptions = [ "histappend" ];
sessionVariables = {
DOCKER_HOST="tcp://192.168.1.223:2375";
NOMAD_ADDR="http://192.168.1.250:4646";
TERM="xterm-256color";
ANSIBLE_HOST_KEY_CHECKING=False;
HSTR_CONFIG=hicolor;
PROMPT_COMMAND="history -a;"; # ensure synchronization between bash memory and history file
SSH_AUTH_SOCK=~/.ssh/wsl-ssh-agent.sock;
}
bashrcExtra = ''
if [ -e /home/sstent/.nix-profile/etc/profile.d/nix.sh ]; then . /home/sstent/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
#keybase service &
# wsl-ssh-agent-relay start
export SSH_AUTH_SOCK=~/.ssh/wsl-ssh-agent.sock
ssh-add -l
'';