4505710565
- Default value is set to static '$HOME/.zsh_history' -- dotDir is not prepended anymore - $HOME is not prepended to the option value - Ensure history path directory exists Fixes #886, replaces #427.
21 lines
344 B
Nix
21 lines
344 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
home.stateVersion = "20.03";
|
|
programs.zsh.enable = true;
|
|
|
|
nixpkgs.overlays = [
|
|
(self: super: {
|
|
zsh = pkgs.writeScriptBin "dummy-zsh" "";
|
|
})
|
|
];
|
|
|
|
nmt.script = ''
|
|
assertFileRegex home-files/.zshrc '^HISTFILE="$HOME/.zsh_history"$'
|
|
'';
|
|
};
|
|
}
|