diff options
author | Alan Pearce | 2019-10-08 21:44:57 +0200 |
---|---|---|
committer | Alan Pearce | 2019-10-08 21:44:57 +0200 |
commit | 0a50d682ec85bf023bebd68a3ca388001f0c0677 (patch) | |
tree | 3f725c5a36633ec5b59df37f156a03ee2a971656 /system/settings/hardware/trezor.nix | |
parent | 40fd4964068d0b7628b6f699dab4aec200eadb0a (diff) | |
download | nixfiles-0a50d682ec85bf023bebd68a3ca388001f0c0677.tar.lz nixfiles-0a50d682ec85bf023bebd68a3ca388001f0c0677.tar.zst nixfiles-0a50d682ec85bf023bebd68a3ca388001f0c0677.zip |
mv modules settings
Diffstat (limited to 'system/settings/hardware/trezor.nix')
-rw-r--r-- | system/settings/hardware/trezor.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/system/settings/hardware/trezor.nix b/system/settings/hardware/trezor.nix new file mode 100644 index 00000000..33cc6f25 --- /dev/null +++ b/system/settings/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; + }; +} |