global/gpg: setup with new PGP key

This commit is contained in:
Infinidoge 2024-01-24 03:24:09 -05:00
parent 4f14fc5793
commit 1b75852621
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A

View file

@ -1,10 +1,24 @@
{ config, main, ... }: {
{ config, main, pkgs, ... }:
{
programs.gpg = {
enable = true;
homedir = "${config.xdg.dataHome}/gnupg";
settings = {
no-comments = false;
comment = [
"Key URL: https://inx.moe/pub.txt"
"Website: https://inx.moe"
];
};
scdaemonSettings = {
disable-ccid = true;
};
publicKeys = [
{ source = pkgs.fetchurl { url = "https://inx.moe/pub.txt"; sha256 = "sha256-QLxmqS5fbR3zqKNvFV+K22XeLuNfrSp2JxBDQtqgTiE="; }; trust = "ultimate"; }
];
};
services.gpg-agent = {