diff options
Diffstat (limited to 'system/modules/hardware/trezor.nix')
-rw-r--r-- | system/modules/hardware/trezor.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/modules/hardware/trezor.nix b/system/modules/hardware/trezor.nix new file mode 100644 index 00000000..33cc6f25 --- /dev/null +++ b/system/modules/hardware/trezor.nix @@ -0,0 +1,13 @@ +{ config, lib, pkgs, ... }: + +{ services.trezord.enable = true; + environment.systemPackages = with pkgs; [ + gnupg + pinentry + (python3.withPackages(ps: with ps; [ trezor_agent wheel ])) + ]; + programs.gnupg.agent = { + enable = lib.mkForce false; + enableSSHSupport = lib.mkForce false; + }; +} |