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:
@@ -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;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user