Skip to content

Commit

Permalink
source environmentFile
Browse files Browse the repository at this point in the history
  • Loading branch information
mrjones2014 committed Aug 15, 2024
1 parent 1e40825 commit 6652df2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/op-secrets.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ in {
system.activationScripts.opnix-on-rebuild.text = ''
${scripts.setOpnixGeneration}
(( _opnix_generation > 1 )) && {
source ${cfg.environmentFile}
export OP_SERVICE_ACCOUNT_TOKEN
${opnixScript}
}
'';
Expand Down

0 comments on commit 6652df2

Please sign in to comment.