nix-config/modules2/zsh/dot-dir.nix
Oliver Davies d0f82c028e
All checks were successful
/ check (push) Successful in 1m47s
Use Home Manager path for zsh.dotDir
> 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)
2025-07-29 19:00:41 +01:00

7 lines
133 B
Nix

{
flake.modules.homeManager.base =
{ config, ... }:
{
programs.zsh.dotDir = "${config.xdg.configHome}/zsh";
};
}