mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Refactor install-anywhere script
This commit is contained in:
parent
225574cbbf
commit
93eb233b14
3 changed files with 30 additions and 22 deletions
|
|
@ -50,7 +50,7 @@
|
|||
pkgs.jq
|
||||
];
|
||||
shellHook = ''
|
||||
export BW_SESSION=$(bw login | awk -F'"' '/export BW_SESSION/ {print $2}')
|
||||
export BW_SESSION=$(bw login --raw)
|
||||
export SOPS_AGE_KEY=$(bw get item 'admin age-key' | jq -r '.notes')
|
||||
export SOPS_CONFIG=${self'.packages.sops-config}
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue