all repos — archive/nixos-configuration @ 50c50c72354d079ef1a96e6415407da20808a6b8

Superseded by nixfiles

Update Trezor setup

Alan Pearce
commit

50c50c72354d079ef1a96e6415407da20808a6b8

parent

b8f11db00e56bdbe72d28227c389a09e486f2217

1 file changed, 11 insertions(+), 1 deletion(-)

jump to
M modules/hardware/trezor.nixmodules/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; + }; }