summaryrefslogtreecommitdiff
path: root/modules/gnupg.nix
blob: 57ca9fd3d48a9eb307aa3fae383999d4357f495f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{ config, pkgs, ... }:

{
  environment.systemPackages = with pkgs; [
    gnupg
    opensc

    yubioath-desktop
  ];

  # smartcard support
  services.pcscd.enable = false;
  hardware.gpgSmartcards.enable = true;
  programs.gnupg.agent = {
    enable = true;
    enableSSHSupport = true;
  };
}