Initial commit
This commit is contained in:
commit
cfcc57a8bd
353 changed files with 18756 additions and 0 deletions
26
module/aspect/base/gnugpg.nix
Normal file
26
module/aspect/base/gnugpg.nix
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
_:
|
||||
{
|
||||
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;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue