mirror of
https://github.com/sstent/vmimages.git
synced 2026-01-25 14:41:44 +00:00
sync
This commit is contained in:
@@ -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
|
||||
|
||||
'';
|
||||
|
||||
Reference in New Issue
Block a user