Update to nixpgks 24.05
This commit is contained in:
parent
5247160b43
commit
a6293a1ba4
46 changed files with 475 additions and 991 deletions
home/features/cli
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue