diff --git a/home.nix b/home.nix index c0f131d..1d33ef8 100644 --- a/home.nix +++ b/home.nix @@ -79,7 +79,7 @@ in { }; services = import ./home/services.nix { - inherit config ownLib; + inherit config ownLib pkgs; }; systemd.user = import ./home/systemd.nix { diff --git a/home/services.nix b/home/services.nix index 6d4df14..0f3fe72 100644 --- a/home/services.nix +++ b/home/services.nix @@ -1,4 +1,4 @@ -{ config, ownLib }: +{ config, ownLib, pkgs }: { @@ -7,6 +7,7 @@ }; gpg-agent = import ./services/gpg-agent.nix { + inherit pkgs; }; vdirsyncer = { diff --git a/home/services/gpg-agent.nix b/home/services/gpg-agent.nix index 9ccf0df..d039a79 100644 --- a/home/services/gpg-agent.nix +++ b/home/services/gpg-agent.nix @@ -1,9 +1,9 @@ -_: +{ pkgs }: { enable = true; defaultCacheTtl = 3600; maxCacheTtl = 36000; - pinentryFlavor = "qt"; + pinentryPackage = pkgs.pinentry-qt; }