test: no unicode in pass activation

This commit is contained in:
mikl 2026-07-01 16:42:29 +03:00
parent 3a0dbcca71
commit 43e6ca3e99

View file

@ -16,7 +16,7 @@
# Activation: ensure GPG key is available
# This is a best-effort setup that downloads from forgejo if needed
home.activation.passSetup = {
data = builtins.toFile "pass-setup.sh" ''
data = ''
# 1. Check if GPG has any keys
if ! gpg --list-secret-keys mikl@iscg.dev >/dev/null 2>&1; then
echo "WARNING: GPG key for mikl@iscg.dev not found."
@ -34,7 +34,7 @@
echo " rm -rf /tmp/gpg-setup"
echo ""
fi
# 2. Initialize pass git remote if needed
if [ ! -d "$HOME/.password-store/.git" ] && [ -d "$HOME/.password-store" ]; then
cd "$HOME/.password-store"