From 92201e4a7910f695e80423a1024060edf735ac9f Mon Sep 17 00:00:00 2001 From: teutat3s Date: Mon, 27 Mar 2023 18:06:16 +0200 Subject: [PATCH] bash: move secrets customization to user teuat3s --- modules/terminal-life/bash/default.nix | 3 --- users/teutat3s/home.nix | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/modules/terminal-life/bash/default.nix b/modules/terminal-life/bash/default.nix index f65c3947..d03e8615 100644 --- a/modules/terminal-life/bash/default.nix +++ b/modules/terminal-life/bash/default.nix @@ -76,9 +76,6 @@ in { ble-bind -m vi_nmap -f 'l' 'vi-command/forward-char' fi - source ${config.age.secrets.environment-secrets.path} - source ${inputs.tritonshell.packages.${pkgs.system}.triton-utils}/bin/ttp.sh - # end of .bashrc [[ ''${BLE_VERSION-} ]] && ble-attach ''; diff --git a/users/teutat3s/home.nix b/users/teutat3s/home.nix index 1e986e1d..8da2d1af 100644 --- a/users/teutat3s/home.nix +++ b/users/teutat3s/home.nix @@ -71,6 +71,9 @@ in { nix-autobahn.packages.${pkgs.system}.default ]; 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.nomad_1_4}/bin/nomad nomad complete -C ${pkgs.vault}/bin/vault vault