21 lines
434 B
Nix
21 lines
434 B
Nix
{ ... }:
|
|
{
|
|
config.dendritic.features.gnupg-agent = {
|
|
nixosModules = [
|
|
(
|
|
{ pkgs, ... }:
|
|
{
|
|
programs.gnupg.agent = {
|
|
enable = true;
|
|
enableSSHSupport = true;
|
|
pinentryPackage = pkgs.pinentry-qt;
|
|
};
|
|
|
|
environment.sessionVariables = {
|
|
SSH_AUTH_SOCK = "/run/user/1000/gnupg/S.gpg-agent.ssh";
|
|
};
|
|
}
|
|
)
|
|
];
|
|
};
|
|
}
|