nixos-config/home-manager/gpg/default.nix

22 lines
420 B
Nix
Raw Normal View History

{ config, lib, pkgs, user, ... }:
{
services.gpg-agent = {
enable = true;
enableZshIntegration = true;
pinentryFlavor = "gnome3";
2024-05-30 08:07:22 +00:00
enableSshSupport = true;
sshKeys = [ "1F937AC8F77ED74CE24EAAE79B5601F73C6D115F" ];
};
programs.gpg = {
enable = true;
2024-05-30 08:07:22 +00:00
mutableKeys = true;
mutableTrust = true;
publicKeys = [{
source = ./pubring.asc;
trust = "ultimate";
}];
};
}