mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
Default has changed to respect `xdg.enable`. Let user's know in case it affects them surprisingly. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
21 lines
679 B
Nix
21 lines
679 B
Nix
{ config, ... }:
|
|
{
|
|
time = "2025-12-27T19:00:00+00:00";
|
|
condition = config.programs.zsh.enable;
|
|
|
|
message = ''
|
|
The default value of `programs.zsh.dotDir` has changed.
|
|
|
|
When `home.stateVersion` is set to "26.05" or later, and `xdg.enable` is
|
|
`true` (the default), `programs.zsh.dotDir` now defaults to
|
|
`''${config.xdg.configHome}/zsh`. Previously, it defaulted to the home
|
|
directory.
|
|
|
|
This means your Zsh configuration files (`.zshrc`, `.zshenv`, etc.) will be
|
|
moved to `~/.config/zsh` (or your configured XDG config home).
|
|
|
|
If you prefer the old behavior, you can explicitly set:
|
|
`programs.zsh.dotDir = config.home.homeDirectory;`
|
|
'';
|
|
}
|