all repos — archive/nixos-configuration @ 006c0cc4659e20e47541657bbd192492c6461aa2

Superseded by nixfiles

Separate GnuPG, Keybase and Tor

Alan Pearce
commit

006c0cc4659e20e47541657bbd192492c6461aa2

parent

32827c9f15a158877e10bc35e39c73e2e3486a90

1 file changed, 4 insertions(+), 34 deletions(-)

changed files
M modules/programs/gnupg.nixmodules/programs/gnupg.nix
@@ -1,40 +1,10 @@
{ config, pkgs, lib, ... }: -{ programs.ssh.startAgent = false; - - programs.gnupg = { - agent = { - enable = true; - enableSSHSupport = true; - }; - dirmngr.enable = true; - }; - - services.keybase.enable = true; - services.kbfs.enable = true; - environment.variables.NIX_SKIP_KEYBASE_CHECKS = "1"; - - services.tor = { - enable = true; - client = { - enable = true; - socksListenAddress = "9050 IPv6Traffic"; - }; - torsocks = { - enable = true; - }; - }; - systemd.services.tor.wantedBy = lib.mkForce []; - systemd.timers.tor = { - description = "Delayed startup of Tor"; - wantedBy = [ "timers.target" ]; - timerConfig = { - OnActiveSec = "1 min"; - }; - }; - +{ environment.systemPackages = with pkgs; [ gnupg - keybase-gui + pinentry + (python3.withPackages(ps: with ps; [ trezor_agent wheel ])) ]; + environment.variables.GNUPGHOME = "$HOME/.gnupg/trezor/"; }