feat(xdg): .gnupg
-> .config/gnupg
This commit is contained in:
parent
ecf309daf4
commit
32e5584012
1 changed files with 2 additions and 6 deletions
|
@ -5,7 +5,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
inherit (pkgs.stdenv.hostPlatform) isDarwin isLinux;
|
inherit (pkgs.stdenv.hostPlatform) isLinux;
|
||||||
inherit (config.xdg) cacheHome configHome dataHome;
|
inherit (config.xdg) cacheHome configHome dataHome;
|
||||||
inherit (config.home) homeDirectory;
|
inherit (config.home) homeDirectory;
|
||||||
in {
|
in {
|
||||||
|
@ -36,11 +36,7 @@ in {
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# NOTE: workaround for gpgme on Darwin, since GUI apps aren't aware of $GNUPGHOME
|
programs.gpg.homedir = "${configHome}/gnupg";
|
||||||
programs.gpg.homedir =
|
|
||||||
if isDarwin
|
|
||||||
then "${homeDirectory}/.gnupg"
|
|
||||||
else "${configHome}/gnupg";
|
|
||||||
|
|
||||||
xdg = {
|
xdg = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue