mise: fix mise env decryption problem

mise use rops under the hood, so variable SOPS_AGE_KEY_FILE not working
properly when you open new terminal pane in directory under mise config.
Change it to sops.age_key_file setting fixes the problem.
This commit is contained in:
Valeriy Filippov
2026-04-06 17:43:39 +03:00
parent cef0c0bdf7
commit b4f025c019

View File

@@ -1,10 +1,9 @@
[settings] [settings]
experimental = true experimental = true
env_shell_expand = true env_shell_expand = true
sops.age_key_file = "$HOME/.config/sops/.age"
[env] [env]
_.file = ".secrets.yaml"
SOPS_AGE_KEY_FILE = "$HOME/.config/sops/.age"
TFENV_REMOTE = "https://hashicorp-releases.yandexcloud.net" TFENV_REMOTE = "https://hashicorp-releases.yandexcloud.net"
K9S_FEATURE_GATE_NODE_SHELL = true K9S_FEATURE_GATE_NODE_SHELL = true