home/home/gpg.nix

25 lines
531 B
Nix

{ pkgs, ... }: {
programs.gpg = {
enable = true;
mutableKeys = false;
mutableTrust = false;
publicKeys = [
{
source = ./wlcx_gpg_public.asc;
trust = "ultimate";
}
{
source = ./gpg_yubikey_5.asc;
trust = "ultimate";
}
{
source = ./gpg_yubikey_5c.asc;
trust = "ultimate";
}
];
# make yubikey work on macos? lolgpg
# https://github.com/NixOS/nixpkgs/issues/155629
scdaemonSettings = { disable-ccid = true; };
};
}