From 670bba3dc39c2c4ffa1a7ab51b4c61ab790791c6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 15 Jan 2023 09:56:47 -0800 Subject: ref(home/gpg): set homedir for GPG configurations --- home/gpg/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home/gpg/default.nix b/home/gpg/default.nix index c3bcd50..9513185 100644 --- a/home/gpg/default.nix +++ b/home/gpg/default.nix @@ -20,6 +20,7 @@ in config = lib.mkIf cfg.enable { programs.gpg = { enable = true; + homedir = "${config.xdg.configHome}/gnupg"; settings = { default-key = cfg.defaultKey; }; }; services.gpg-agent = { -- cgit 1.4.1