diff options
Diffstat (limited to 'modules/hardware')
-rw-r--r-- | modules/hardware/trezor.nix | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/modules/hardware/trezor.nix b/modules/hardware/trezor.nix index ad938e9a..ff1f8e38 100644 --- a/modules/hardware/trezor.nix +++ b/modules/hardware/trezor.nix @@ -1,4 +1,14 @@ -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: { services.trezord.enable = true; + environment.systemPackages = with pkgs; [ + gnupg + pinentry + (python3.withPackages(ps: with ps; [ trezor_agent wheel ])) + ]; + environment.variables.GNUPGHOME = "$HOME/.gnupg/trezor/"; + programs.gnupg.agent = { + enable = lib.mkForce false; + enableSSHSupport = lib.mkForce false; + }; } |