Fix pinentry deprecations

This commit is contained in:
Jakob Lechner 2024-05-22 22:31:31 +02:00
parent 4c0d5c5fe0
commit 102ae3fe62
2 changed files with 1 additions and 3 deletions

View file

@ -3,11 +3,9 @@ lib.mkIf nixosConfig.jalr.gui.enable {
home.packages = with pkgs; [ home.packages = with pkgs; [
evince evince
exiftool exiftool
gcr # required for pinentry-gnome
geeqie geeqie
mpv mpv
networkmanagerapplet networkmanagerapplet
pinentry-gnome
streamlink streamlink
supersonic-wayland supersonic-wayland
vlc vlc

View file

@ -7,7 +7,7 @@
gnupg.agent = { gnupg.agent = {
enable = true; enable = true;
enableSSHSupport = true; enableSSHSupport = true;
pinentryFlavor = if config.jalr.gui.enable then "gnome3" else "tty"; pinentryPackage = with pkgs; if config.jalr.gui.enable then pinentry-gnome3 else pinentry-tty;
}; };
}; };