mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
sops: Fix dev-shell and insaller-script
This commit is contained in:
parent
8be51907fa
commit
697eae282e
2 changed files with 6 additions and 4 deletions
|
|
@ -50,8 +50,9 @@
|
|||
pkgs.jq
|
||||
];
|
||||
shellHook = ''
|
||||
BW_SESSION="$(bw login --raw)"
|
||||
export BW_SESSION
|
||||
if BW_SESSION="$(bw login --raw)"; then
|
||||
export BW_SESSION
|
||||
fi
|
||||
SOPS_AGE_KEY="$(bw get item 'admin age-key' | jq -r '.notes')"
|
||||
export SOPS_AGE_KEY
|
||||
SOPS_CONFIG="${self'.packages.sops-config}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue