feat(gpg): add gpg config

This commit is contained in:
2025-05-19 18:09:05 +02:00
parent 8f860b6887
commit e0a06e39cd
3 changed files with 15 additions and 2 deletions

12
users/modules/gpg.nix Normal file
View File

@@ -0,0 +1,12 @@
{pkgs, ...}:{
programs.gpg = {
enable = true;
mutableKeys = true;
mutableTrust = true;
};
services.gpg-agent = {
enable = true;
enableSshSupport = true;
pinentry.package = pkgs.pinentry-emacs;
};
}