about summary refs log tree commit diff
path: root/nixos/modules/programs
diff options
context:
space:
mode:
authoredef <edef@edef.eu>2023-10-04 12:32:29 -0400
committerGitHub <noreply@github.com>2023-10-04 12:32:29 -0400
commit77225e33c0e790fc2767255c0d7e94204ffb6919 (patch)
tree6bd43349d9d9622efa1371128b70498324604f7e /nixos/modules/programs
parent349bdd9653c42f1793d338b43aefe08883c5ebee (diff)
parent8131fc5ee61d7730270f7311f7db68c532d39f1a (diff)
downloadnixlib-77225e33c0e790fc2767255c0d7e94204ffb6919.tar
nixlib-77225e33c0e790fc2767255c0d7e94204ffb6919.tar.gz
nixlib-77225e33c0e790fc2767255c0d7e94204ffb6919.tar.bz2
nixlib-77225e33c0e790fc2767255c0d7e94204ffb6919.tar.lz
nixlib-77225e33c0e790fc2767255c0d7e94204ffb6919.tar.xz
nixlib-77225e33c0e790fc2767255c0d7e94204ffb6919.tar.zst
nixlib-77225e33c0e790fc2767255c0d7e94204ffb6919.zip
Merge pull request #248627 from edef1c/gpg-agent-sockets
Diffstat (limited to 'nixos/modules/programs')
-rw-r--r--nixos/modules/programs/gnupg.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/programs/gnupg.nix b/nixos/modules/programs/gnupg.nix
index 697b6e9a0bd0..12ef8671b740 100644
--- a/nixos/modules/programs/gnupg.nix
+++ b/nixos/modules/programs/gnupg.nix
@@ -102,7 +102,7 @@ in
       unitConfig = {
         Description = "GnuPG cryptographic agent and passphrase cache";
         Documentation = "man:gpg-agent(1)";
-        Requires = [ "gpg-agent.socket" ];
+        Requires = [ "sockets.target" ];
       };
       serviceConfig = {
         ExecStart = "${cfg.package}/bin/gpg-agent --supervised";