chore(fish): move mise up, add fnox

Amolith created

Change summary

dot_config/private_fish/config.fish.tmpl | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)

Detailed changes

dot_config/private_fish/config.fish.tmpl 🔗

@@ -63,6 +63,13 @@ set -x RANGER_LOAD_DEFAULT_RC false
 # Disable dumb Python keyring integration
 set -x PYTHON_KEYRING_BACKEND "keyring.backends.null.Keyring"
 
+# Lots of things rely on this
+mise activate fish | source
+
+# secrets
+set -x FNOX_AGE_KEY (cat ~/.config/fnox/age.txt | grep "AGE-SECRET-KEY")
+mise exec fnox@latest -- fnox activate fish | source
+
 # Secrets (uses helper to respect opx-resolved values)
 function secret -a var val
     set -q $var; or set -gx $var $val
@@ -155,9 +162,6 @@ if status is-interactive
 	# register completions (on-the-fly, non-cached, because the actual command won't be cached anyway
 	complete -c cht -xa '(curl -s cheat.sh/:list)'
 
-    # Lots of things rely on this
-    mise activate fish | source
-
     # Dynamic completions
     starship init fish | source
     atuin init --disable-up-arrow fish | source