mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 22:59:15 +00:00
38 lines
862 B
Nix
38 lines
862 B
Nix
{pkgs, ...}: {
|
|
services = {
|
|
gpg-agent.defaultCacheTtl = 1209600;
|
|
gpg-agent.pinentry.package = pkgs.pinentry-tty;
|
|
};
|
|
|
|
programs.gpg.publicKeys = let
|
|
github = {
|
|
user,
|
|
hash,
|
|
trust ? 5,
|
|
}: {
|
|
source = pkgs.fetchurl {
|
|
url = "https://github.com/${user}.gpg";
|
|
inherit hash;
|
|
};
|
|
inherit trust;
|
|
};
|
|
in
|
|
map github [
|
|
{
|
|
user = "leana8959";
|
|
hash = "sha256-Y+v/8bLkyUIe4vjToChQP3ChPxRV/DqI72OTsx6F0oo=";
|
|
}
|
|
{
|
|
user = "vanilla-extracts";
|
|
hash = "sha256-6JulBVFmbOHAI7tHiS0Q7L5oQVOXtkUmOLz3+Yz27ec=";
|
|
}
|
|
{
|
|
user = "jappeace";
|
|
hash = "sha256-wJ4hiE7M7dcEMaE8waNZEi+tybpVIsFzoeDJhIIaLhk=";
|
|
}
|
|
{
|
|
user = "confusedkernel";
|
|
hash = "sha256-9DdtDAcv+2Z0jJMSLAXbp5ne8uHYj5V/lNGi0kKSdv4=";
|
|
}
|
|
];
|
|
}
|