1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 09:28:32 +02:00
home-manager/tests/modules/programs/zsh/history-path-old-default.nix
2020-02-02 01:07:28 +01:00

18 lines
326 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
config = {
home.stateVersion = "19.03";
programs.zsh.enable = true;
nixpkgs.overlays =
[ (self: super: { zsh = pkgs.writeScriptBin "dummy-zsh" ""; }) ];
nmt.script = ''
assertFileRegex home-files/.zshrc '^HISTFILE="$HOME/.zsh_history"$'
'';
};
}