summary refs log tree commit diff stats
path: root/modules/hardware/trezor.nix
blob: ff1f8e387080aee7dc5efe0233c63b6471418a92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ 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;
  };
}