25 lines
422 B
Nix
25 lines
422 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
|
|
programs.gnupg.agent = {
|
|
enable = true;
|
|
enableSSHSupport = true;
|
|
pinentryPackage = pkgs.pinentry-gtk2;
|
|
};
|
|
|
|
home-manager.users.${config.user} = {
|
|
programs.gpg = {
|
|
enable = true;
|
|
publicKeys = [
|
|
{
|
|
source = ../../../files/keys/freya-gpg.pub;
|
|
trust = 5;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
|
|
};
|
|
}
|