mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
added programmatic dynamic generation of user defined keys
This commit is contained in:
parent
18a94b74fb
commit
6ccfd709d0
10 changed files with 41 additions and 20 deletions
|
|
@ -9,7 +9,12 @@ in
|
|||
config = mkIf cfg.enable {
|
||||
programs.gpg = {
|
||||
enable = true;
|
||||
publicKeys = [ config.user.pgpKey ];
|
||||
publicKeys = [
|
||||
{
|
||||
text = "${config.user.keys.pgp.primary}";
|
||||
trust = 5;
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
services.gpg-agent = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue