dotfiles/users/alejandro/gpg.nix
Alejandro Angulo e4f5970abd
Removed redundant comment
The key listed is not specific to any one yubikey so the comment didn't
make sense.
2022-11-17 17:19:06 -08:00

30 lines
565 B
Nix

{
config,
pkgs,
...
}: {
home.packages = with pkgs; [
gnupg
pinentry-curses
];
programs.gpg = {
enable = true;
scdaemonSettings = {
# Fix conflicts with config in common/yubikey.nix
disable-ccid = true;
};
};
services.gpg-agent = {
enable = true;
pinentryFlavor = "curses";
enableZshIntegration = true;
enableSshSupport = true;
sshKeys = [
# run `gpg-connect-agent 'keyinfo --list' /bye` to get these values for existing keys
"E274D5078327CB6C8C83CFF102CC12A2D493C77F"
];
};
}