bash: move secrets customization to user teuat3s

This commit is contained in:
teutat3s 2023-03-27 18:06:16 +02:00
parent aa4f26bba8
commit 92201e4a79
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1
2 changed files with 3 additions and 3 deletions

View file

@ -76,9 +76,6 @@ in {
ble-bind -m vi_nmap -f 'l' 'vi-command/forward-char' ble-bind -m vi_nmap -f 'l' 'vi-command/forward-char'
fi fi
source ${config.age.secrets.environment-secrets.path}
source ${inputs.tritonshell.packages.${pkgs.system}.triton-utils}/bin/ttp.sh
# end of .bashrc # end of .bashrc
[[ ''${BLE_VERSION-} ]] && ble-attach [[ ''${BLE_VERSION-} ]] && ble-attach
''; '';

View file

@ -71,6 +71,9 @@ in {
nix-autobahn.packages.${pkgs.system}.default nix-autobahn.packages.${pkgs.system}.default
]; ];
programs.bash.initExtra = '' programs.bash.initExtra = ''
source ${config.age.secrets.environment-secrets.path}
source ${inputs.tritonshell.packages.${pkgs.system}.triton-utils}/bin/ttp.sh
complete -C ${pkgs.consul}/bin/consul consul complete -C ${pkgs.consul}/bin/consul consul
complete -C ${pkgs.nomad_1_4}/bin/nomad nomad complete -C ${pkgs.nomad_1_4}/bin/nomad nomad
complete -C ${pkgs.vault}/bin/vault vault complete -C ${pkgs.vault}/bin/vault vault