chore: nix fmt

This commit is contained in:
steveej 2025-05-28 17:06:11 +02:00
parent a9be5375ca
commit a1df9205d5
8 changed files with 16 additions and 12 deletions

View file

@ -230,8 +230,8 @@ switch-gpg-card key-id="6EEFA706CB17E89B":
# Connect the new device and then run this script to make it known to gnupg.
#
set -xe
if [[ -n "{{key-id}}" ]]; then
KEY_ID="{{key-id}}"
if [[ -n "{{ key-id }}" ]]; then
KEY_ID="{{ key-id }}"
else
KEY_ID=$(gpg --card-status | rg sec | rg -o '[0-9A-Z]{16}')
fi