trezor/gpg: drop systemd service

This commit is contained in:
Josh Lay 2024-08-25 11:20:05 -05:00
parent 6e717c7ce4
commit 04e31058f4
No known key found for this signature in database
GPG key ID: 47AA304B2243B579
4 changed files with 1 additions and 24 deletions

View file

@ -1,9 +0,0 @@
[Unit]
Description=trezor-gpg-agent
Requires=trezor-gpg-agent.socket
[Service]
Type=simple
Environment="GNUPGHOME=%h/.gnupg/trezor"
Environment="PATH=/bin:/usr/bin:/usr/local/bin:%h/.local/bin"
ExecStart=%h/.local/bin/trezor-gpg-agent --pin-entry-binary=/usr/bin/pinentry-gnome3 --passphrase-entry-binary=/usr/bin/pinentry-gnome3

View file

@ -1,11 +0,0 @@
[Unit]
Description=trezor-gpg-agent socket
[Socket]
ListenStream=%t/gnupg/S.gpg-agent
FileDescriptorName=std
SocketMode=0600
DirectoryMode=0700
[Install]
WantedBy=sockets.target

View file

@ -1,5 +1,4 @@
# Hardware-based GPG configuration
# agent-program /home/jlay/.gnupg/trezor/run-agent.sh
# above replaced w/ systemd service/socket
agent-program /home/jlay/.local/bin/trezor-gpg-agent
personal-digest-preferences SHA512
default-key "Josh Lay (desktop) <me@jlay.io>"

View file

@ -35,8 +35,6 @@ DOTS=(
'.config/waybar/styles/'
'.config/waybar/style.css' # symlink to the wanted stylesheet (in the 'styles' dir')
'.gnupg/trezor/gpg.conf'
'.config/systemd/user/trezor-gpg-agent.service'
'.config/systemd/user/trezor-gpg-agent.socket'
)
# to avoid hacky pwd/dirname stuff w/ $0 [for now?], inline the path to the repo where copies are held