2019-10-28 11:11:44 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
config = {
|
|
|
|
home.stateVersion = "20.03";
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
history.path = "$HOME/some/directory/zsh_history";
|
|
|
|
};
|
|
|
|
|
2020-02-02 00:39:17 +01:00
|
|
|
nixpkgs.overlays =
|
|
|
|
[ (self: super: { zsh = pkgs.writeScriptBin "dummy-zsh" ""; }) ];
|
2019-10-28 11:11:44 +01:00
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileRegex home-files/.zshrc '^HISTFILE="$HOME/some/directory/zsh_history"$'
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
}
|