infra/module/aspect/base/gnugpg.nix

26 lines
513 B
Nix
Raw Permalink Normal View History

2025-12-01 13:23:24 +07:00
_:
{
den.aspects = {
base = {
homeManager =
{ config, ... }:
{
programs = {
gpg = {
enable = true;
settings = {
default-key = _.config.meta.${config.home.username}.key;
};
};
};
services = {
gpg-agent = {
enable = true;
enableSshSupport = true;
sshKeys = _.config.meta.${config.home.username}.keygrip;
};
};
};
};
};
}