summaryrefslogtreecommitdiff
path: root/modules/gnupg.nix
blob: 6d52e66e6407e558bda4e703d77e47e01cafbe57 (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

    yubikey-personalization-gui
  ];

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