1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-03-18 14:28:15 +00:00

navi: handle xdg directory on darwin (#6589)

When xdg is enabled, use the xdg config home on darwin.
This commit is contained in:
Austin Horstman 2025-03-08 12:56:34 -06:00 committed by GitHub
parent b2314312f2
commit 20a6b3631b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -7,7 +7,7 @@ let
yamlFormat = pkgs.formats.yaml { }; yamlFormat = pkgs.formats.yaml { };
configDir = if pkgs.stdenv.isDarwin then configDir = if pkgs.stdenv.isDarwin && !config.xdg.enable then
"Library/Application Support" "Library/Application Support"
else else
config.xdg.configHome; config.xdg.configHome;