diff options
author | Alan Pearce | 2019-05-23 10:54:17 +0200 |
---|---|---|
committer | Alan Pearce | 2019-05-28 09:58:41 +0200 |
commit | 50c50c72354d079ef1a96e6415407da20808a6b8 (patch) | |
tree | 1950aacc25ebb502f8da19b489643dc0ff107b97 | |
parent | b8f11db00e56bdbe72d28227c389a09e486f2217 (diff) | |
download | nixfiles-50c50c72354d079ef1a96e6415407da20808a6b8.tar.lz nixfiles-50c50c72354d079ef1a96e6415407da20808a6b8.tar.zst nixfiles-50c50c72354d079ef1a96e6415407da20808a6b8.zip |
Update Trezor setup
-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; + }; } |