From 1e66e035e18ca02d72ebbbc83e4e75fa0acdf1af Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Sun, 10 Jul 2022 22:10:55 +0800 Subject: [PATCH] gpg-agent: set Environment to a list --- modules/services/gpg-agent.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/gpg-agent.nix b/modules/services/gpg-agent.nix index 21303ee8e..488675f66 100644 --- a/modules/services/gpg-agent.nix +++ b/modules/services/gpg-agent.nix @@ -271,7 +271,7 @@ in { ExecStart = "${gpgPkg}/bin/gpg-agent --supervised" + optionalString cfg.verbose " --verbose"; ExecReload = "${gpgPkg}/bin/gpgconf --reload gpg-agent"; - Environment = "GNUPGHOME=${homedir}"; + Environment = [ "GNUPGHOME=${homedir}" ]; }; };