diff --git a/modules/home/programs/gpg/default.nix b/modules/home/programs/gpg/default.nix index b081fe6..43dab69 100644 --- a/modules/home/programs/gpg/default.nix +++ b/modules/home/programs/gpg/default.nix @@ -34,7 +34,7 @@ in # see here: https://github.com/nix-community/home-manager/issues/3864 services.gpg-agent = mkIf (system == "x86_64-linux") { enable = true; - pinentryPackage = + pinentry.package = if config.${namespace}.windowManagers.sway.enable then pkgs.pinentry-qt else pkgs.pinentry-curses; enableZshIntegration = true; enableSshSupport = true;