mirror of https://github.com/wlcx/home.git
25 lines
573 B
Nix
25 lines
573 B
Nix
{pkgs, lib, ...}: {
|
|
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 = (lib.optionalAttrs pkgs.stdenv.isDarwin {disable-ccid = true;});
|
|
};
|
|
}
|