feat: nb add env variable for sops
This commit is contained in:
parent
19d0946e06
commit
7d2f818fca
1 changed files with 2 additions and 0 deletions
|
|
@ -165,6 +165,7 @@ in
|
|||
programs.zsh = {
|
||||
shellInit = ''
|
||||
export OPENAI_API_KEY=$(cat ${config.sops.secrets.openai_api_key.path})
|
||||
export SOPS_AGE_KEY_FILE="$HOME/.config/sops/age/key.age"
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
@ -175,6 +176,7 @@ in
|
|||
home.enableNixpkgsReleaseCheck = false;
|
||||
home.sessionVariables = {
|
||||
MOZ_ENABLE_WAYLAND = "1";
|
||||
SOPS_AGE_KEY_FILE = "$HOME/.config/sops/age/key.age";
|
||||
};
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue