mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
navi: handle xdg directory on darwin (#6589)
When xdg is enabled, use the xdg config home on darwin.
This commit is contained in:
@@ -7,7 +7,7 @@ let
|
||||
|
||||
yamlFormat = pkgs.formats.yaml { };
|
||||
|
||||
configDir = if pkgs.stdenv.isDarwin then
|
||||
configDir = if pkgs.stdenv.isDarwin && !config.xdg.enable then
|
||||
"Library/Application Support"
|
||||
else
|
||||
config.xdg.configHome;
|
||||
|
||||
Reference in New Issue
Block a user