fix: gnupg pinentry, nvtop

This commit is contained in:
Ryan Yin
2024-04-12 22:57:43 +08:00
parent 0b9574d693
commit 2d5a0c6783
2 changed files with 7 additions and 3 deletions

View File

@@ -13,7 +13,7 @@
pulsemixer
imv # simple image viewer
nvtop
nvtopPackages.full
# video/audio tools
cava # for visualizing audio

View File

@@ -1,4 +1,8 @@
{config, ...}: {
{
config,
pkgs,
...
}: {
nix.extraOptions = ''
!include ${config.age.secrets.nix-access-tokens.path}
'';
@@ -12,7 +16,7 @@
# gpg agent with pinentry
programs.gnupg.agent = {
enable = true;
pinentryPackage = "curses";
pinentryPackage = pkgs.pinentry-qt;
enableSSHSupport = false;
settings.default-cache-ttl = 4 * 60 * 60; # 4 hours
};