New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trezor-agent: add systemd service #29831
Conversation
trezor-agent now splits agents into different packages. This commit still points trezor_agent to the trezor-specific agent to maintain backwards compatibility. We should probably abstract this a bit into ledgernano_agent, keepkey_agent, etc
Needed for the system service
nixos/modules/programs/gnupg.nix
Outdated
systemd.user.services.trezor-agent = { | ||
description = "Trezor GnuPG Agent"; | ||
|
||
wantedBy = [ "multi-user.target" ]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
multi-user.target isn't a valid target for user sessions.
owner = "romanz"; | ||
rev = "v${version}"; | ||
sha256 = "1wrmf76016ksx394l1xknnqn08sc5pid5ihri619cd83zsxpkfvk"; | ||
}}/agents/trezor"; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's wrong with the pypi package?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The author uploaded a new version, I'm going to update this PR this evening (-0700)
multi-user.target isn't a valid target for user sessions.
ha I actually just remembered this before I went to sleep last night and
was going to fix it when I woke up (fixing now)
|
What's wrong with the pypi package?
As far as I can tell it hasn't been uploaded yet...
https://pypi.python.org/pypi/trezor_agent/
|
Allows you to use your Trezor as a GnuPG agent
58512f2
to
2ed846b
Compare
Motivation for this change
Option to enable a trezor-agent service that allows you to use your Trezor as a GnuPG agent. This builds upon #28656.
Closes #28656
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)