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; yt-dlp.enable = true;
bash = { bash = {
enable = true; enable = true;
bashrcExtra = '' historyControl = [ignorespace];
export DOCKER_HOST="tcp://192.168.1.223:2375"; shellOptions = [ "histappend" ];
export NOMAD_ADDR="http://192.168.1.250:4646"; sessionVariables = {
export TERM="xterm-256color"; DOCKER_HOST="tcp://192.168.1.223:2375";
export ANSIBLE_HOST_KEY_CHECKING=False NOMAD_ADDR="http://192.168.1.250:4646";
TERM="xterm-256color";
export HSTR_CONFIG=hicolor # get more colors ANSIBLE_HOST_KEY_CHECKING=False;
shopt -s histappend # append new history items to .bash_history HSTR_CONFIG=hicolor;
export HISTCONTROL=ignorespace # leading space hides commands from history PROMPT_COMMAND="history -a;"; # ensure synchronization between bash memory and history file
# ensure synchronization between bash memory and history file SSH_AUTH_SOCK=~/.ssh/wsl-ssh-agent.sock;
export PROMPT_COMMAND="history -a;" }
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 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 ssh-add -l
''; '';