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

20 lines
331 B
Nix
Raw Normal View History

{ config, lib, pkgs, user, ... }:
{
services.gpg-agent = {
enable = true;
enableZshIntegration = true;
pinentryFlavor = "gnome3";
};
programs.gpg = {
enable = true;
mutableKeys = false;
mutableTrust = false;
publicKeys = [{
source = ./pubring.asc;
trust = "ultimate";
}];
};
}