global/gpg: setup with new PGP key
This commit is contained in:
parent
4f14fc5793
commit
1b75852621
1 changed files with 15 additions and 1 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue