feat(sops): add cwp jira secrets as env vars

This commit is contained in:
Mohammad Rafiq 2025-03-28 17:48:13 +08:00
parent c2e759b19c
commit aae541293c
No known key found for this signature in database
4 changed files with 16 additions and 6 deletions

View file

@ -1,5 +1,6 @@
{
pkgs,
config,
...
}:
{
@ -21,6 +22,9 @@
''
# Bind CTRL+Backspace to delete whole word
bindkey '^H' backward-kill-word
export CWP_JIRA_LINK_FILE="${config.sops.secrets.cwp_jira_link.path}"
export CWP_JIRA_PAT_FILE="${config.sops.secrets.cwp_jira_pat.path}"
'';
# TODO: Look into whether we need to add the history attribute
profileExtra = # bash