Use Home Manager path for zsh.dotDir
All checks were successful
/ check (push) Successful in 1m47s

> evaluation warning: opdavies profile: Using relative paths in programs.zsh.dotDir is deprecated and will be removed in a future release.
> Current dotDir: .config/zsh
> Consider using absolute paths or home-manager config options instead.
> You can replace relative paths or environment variables with options like:
> - config.home.homeDirectory (user's home directory)
> - config.xdg.configHome (XDG config directory)
> - config.xdg.dataHome (XDG data directory)
> - config.xdg.cacheHome (XDG cache directory)
This commit is contained in:
Oliver Davies 2025-07-29 18:58:37 +01:00
parent 3e7bf2721f
commit d0f82c028e

View file

@ -1,5 +1,7 @@
{
flake.modules.homeManager.base = {
programs.zsh.dotDir = ".config/zsh";
};
flake.modules.homeManager.base =
{ config, ... }:
{
programs.zsh.dotDir = "${config.xdg.configHome}/zsh";
};
}