26 lines
513 B
Nix
26 lines
513 B
Nix
|
|
_:
|
||
|
|
{
|
||
|
|
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;
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|