nixos/malte/gpg.nix

17 lines
315 B
Nix

{ pkgs, ... }:
let conf = import ./conf.nix;
in {
home.packages = with pkgs; [ yubikey-personalization ];
programs.gpg = { enable = true; };
services.gpg-agent = {
enable = true;
enableScDaemon = true;
enableSshSupport = true;
sshKeys = [ conf.gpg.grip ];
pinentryFlavor = "qt";
};
}