mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 19:49:45 +01:00
20 lines
414 B
Nix
20 lines
414 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
config = {
|
|
home.stateVersion = "20.03";
|
|
programs.zsh = {
|
|
enable = true;
|
|
history.path = "$HOME/some/directory/zsh_history";
|
|
};
|
|
|
|
nixpkgs.overlays =
|
|
[ (self: super: { zsh = pkgs.writeScriptBin "dummy-zsh" ""; }) ];
|
|
|
|
nmt.script = ''
|
|
assertFileRegex home-files/.zshrc '^HISTFILE="$HOME/some/directory/zsh_history"$'
|
|
'';
|
|
};
|
|
}
|