From 38e971d2e1b9f969f1fd0332a6d5a5773b0a22d1 Mon Sep 17 00:00:00 2001 From: Daniel Fullmer Date: Mon, 26 Jun 2017 19:33:23 -0400 Subject: [PATCH] gnupg agent module: Fix dirmngr.enable option --- nixos/modules/programs/gnupg.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/programs/gnupg.nix b/nixos/modules/programs/gnupg.nix index f2f5fe4ea80b..8af55f38992f 100644 --- a/nixos/modules/programs/gnupg.nix +++ b/nixos/modules/programs/gnupg.nix @@ -71,7 +71,7 @@ in wantedBy = [ "sockets.target" ]; }; - systemd.user.sockets.dirmngr = { + systemd.user.sockets.dirmngr = mkIf cfg.dirmngr.enable { wantedBy = [ "sockets.target" ]; };