22 lines
420 B
Nix
22 lines
420 B
Nix
{ config, lib, pkgs, user, ... }:
|
|
|
|
{
|
|
services.gpg-agent = {
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
pinentryFlavor = "gnome3";
|
|
enableSshSupport = true;
|
|
sshKeys = [ "1F937AC8F77ED74CE24EAAE79B5601F73C6D115F" ];
|
|
};
|
|
|
|
programs.gpg = {
|
|
enable = true;
|
|
mutableKeys = true;
|
|
mutableTrust = true;
|
|
publicKeys = [{
|
|
source = ./pubring.asc;
|
|
trust = "ultimate";
|
|
}];
|
|
};
|
|
}
|