1
Fork 0

Update to nixpgks 24.05

This commit is contained in:
prescientmoon 2024-07-26 20:18:26 +02:00
parent 5247160b43
commit a6293a1ba4
Signed by: prescientmoon
SSH key fingerprint: SHA256:UUF9JT2s8Xfyv76b8ZuVL7XrmimH4o49p4b+iexbVH4
46 changed files with 475 additions and 991 deletions
home/features/cli

View file

@ -1,20 +1,11 @@
{ pkgs, config, ... }:
let
pinentry =
if config.gtk.enable then {
packages = [ pkgs.pinentry-gnome pkgs.gcr ];
name = "gnome3";
} else {
packages = [ pkgs.pinentry-curses ];
name = "curses";
};
in
{
home.packages = pinentry.packages;
services.gpg-agent = {
enable = true;
pinentryFlavor = pinentry.name;
pinentryPackage =
if config.gtk.enable
then pkgs.pinentry-gnome3
else pkgs.pinentry-curses;
};
programs.gpg.enable = true;