mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
zsh: don't suggest stateVersion update
Generally best to avoid telling normal users to adjust their stateVersion to avoid other home-manager module logic changes based on stateVersion. Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
@@ -415,7 +415,7 @@ in
|
|||||||
You are currently using the legacy default (home directory) because `home.stateVersion` is less than "26.05".
|
You are currently using the legacy default (home directory) because `home.stateVersion` is less than "26.05".
|
||||||
To silence this warning and lock in the current behavior, set:
|
To silence this warning and lock in the current behavior, set:
|
||||||
programs.zsh.dotDir = config.home.homeDirectory;
|
programs.zsh.dotDir = config.home.homeDirectory;
|
||||||
To adopt the new behavior (XDG config directory), update `home.stateVersion` to "26.05" or set:
|
To adopt the new behavior (XDG config directory), set:
|
||||||
programs.zsh.dotDir = "''${config.xdg.configHome}/zsh";
|
programs.zsh.dotDir = "''${config.xdg.configHome}/zsh";
|
||||||
''
|
''
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
You are currently using the legacy default (home directory) because `home.stateVersion` is less than "26.05".
|
You are currently using the legacy default (home directory) because `home.stateVersion` is less than "26.05".
|
||||||
To silence this warning and lock in the current behavior, set:
|
To silence this warning and lock in the current behavior, set:
|
||||||
programs.zsh.dotDir = config.home.homeDirectory;
|
programs.zsh.dotDir = config.home.homeDirectory;
|
||||||
To adopt the new behavior (XDG config directory), update `home.stateVersion` to "26.05" or set:
|
To adopt the new behavior (XDG config directory), set:
|
||||||
programs.zsh.dotDir = "''${config.xdg.configHome}/zsh";
|
programs.zsh.dotDir = "''${config.xdg.configHome}/zsh";
|
||||||
''
|
''
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user