From 50c50c72354d079ef1a96e6415407da20808a6b8 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 23 May 2019 10:54:17 +0200 Subject: Update Trezor setup --- modules/hardware/trezor.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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; + }; } -- cgit 1.4.1