1
0
mirror of https://github.com/kmein/niveum synced 2026-03-20 12:01:06 +01:00

gnupg: use nixos instead of home-manager

This commit is contained in:
2024-10-07 22:58:55 +02:00
parent a2390d52c5
commit c15e9812c4

View File

@@ -155,13 +155,14 @@ in {
} }
{programs.command-not-found.enable = true;} {programs.command-not-found.enable = true;}
{ {
home-manager.users.me = { programs.gnupg = {
services.gpg-agent = rec { agent = {
enable = true; enable = true;
enableZshIntegration = true;
defaultCacheTtl = 2 * 60 * 60;
maxCacheTtl = 4 * defaultCacheTtl;
pinentryPackage = pkgs.pinentry-rofi; pinentryPackage = pkgs.pinentry-rofi;
settings = rec {
default-cache-ttl = 2 * 60 * 60;
max-cache-ttl = 4 * default-cache-ttl;
};
}; };
}; };