summaryrefslogtreecommitdiff
path: root/modules/programs
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2021-02-17 18:29:46 +0100
committerGitHub <noreply@github.com>2021-02-17 18:29:46 +0100
commitc8be627ed08df16c5c4ad90011498323f85919e0 (patch)
tree87918aa286c7b16dafb23462e959b6b263f67834 /modules/programs
parentdca3806552420c811e539ede2af3aa7aec665ba1 (diff)
parent6d4bf1a29e93f0fde229cb221831b15a19420b14 (diff)
Merge pull request #292 from MaxSchlueter/fix-gnupg-agent
Fix gnupg-agent being kept alive
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/gnupg.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/gnupg.nix b/modules/programs/gnupg.nix
index 9a67ec8..4c451ec 100644
--- a/modules/programs/gnupg.nix
+++ b/modules/programs/gnupg.nix
@@ -34,7 +34,7 @@ in
"${pkgs.gnupg}/bin/gpg-connect-agent" "/bye"
];
RunAtLoad = cfg.agent.enableSSHSupport;
- KeepAlive = true;
+ KeepAlive.SuccessfulExit = false;
};
environment.extraInit = ''