This commit is contained in:
Grigory Shipunov 2022-05-25 19:27:42 +02:00
commit a953246971
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C
17 changed files with 795 additions and 0 deletions

18
modules/gnupg.nix Normal file
View file

@ -0,0 +1,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;
};
}