From 32e5584012d3ccad4937262374dfd9d6bb93e972 Mon Sep 17 00:00:00 2001 From: winston Date: Sat, 11 Nov 2023 17:26:16 +0100 Subject: [PATCH] feat(xdg): `.gnupg` -> `.config/gnupg` --- home/xdg.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/home/xdg.nix b/home/xdg.nix index 933ec88..24b52e5 100644 --- a/home/xdg.nix +++ b/home/xdg.nix @@ -5,7 +5,7 @@ pkgs, ... }: let - inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux; + inherit (pkgs.stdenv.hostPlatform) isLinux; inherit (config.xdg) cacheHome configHome dataHome; inherit (config.home) homeDirectory; in { @@ -36,11 +36,7 @@ in { ]; }; - # NOTE: workaround for gpgme on Darwin, since GUI apps aren't aware of $GNUPGHOME - programs.gpg.homedir = - if isDarwin - then "${homeDirectory}/.gnupg" - else "${configHome}/gnupg"; + programs.gpg.homedir = "${configHome}/gnupg"; xdg = { enable = true;