Skip to content

Commit

Permalink
Merge pull request NixOS#313456 from lf-/jade/dead-code
Browse files Browse the repository at this point in the history
nixos/gnupg: remove dead code
  • Loading branch information
K900 authored May 21, 2024
2 parents 983f51f + f953913 commit c10fb0d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions nixos/modules/programs/gnupg.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,22 +8,6 @@ let
agentSettingsFormat = pkgs.formats.keyValue {
mkKeyValue = lib.generators.mkKeyValueDefault { } " ";
};

xserverCfg = config.services.xserver;

defaultPinentryFlavor =
if xserverCfg.desktopManager.lxqt.enable
|| xserverCfg.desktopManager.plasma5.enable
|| xserverCfg.desktopManager.plasma6.enable
|| xserverCfg.desktopManager.deepin.enable then
"qt"
else if xserverCfg.desktopManager.xfce.enable then
"gtk2"
else if xserverCfg.enable || config.programs.sway.enable then
"gnome3"
else
"curses";

in
{
imports = [
Expand Down

0 comments on commit c10fb0d

Please sign in to comment.