anchor.diff:        '';
   
         home.file."${relToDotDir ".zshrc"}".text = ''
  -        setopt HIST_FCNTL_LOCK
  -        ${if cfg.history.ignoreDups then "setopt" else "unsetopt"} HIST_IGNORE_DUPS
  -        ${if cfg.history.share then "setopt" else "unsetopt"} SHARE_HISTORY
  -
           fpath+="$HOME/.nix-profile/share/zsh/site-functions"
           fpath+="$HOME/.nix-profile/share/zsh/$ZSH_VERSION/functions"
   
  
positive.code: 
    zdotdir = "$HOME/" + cfg.dotDir;
  
    historyModule = types.submodule {
      options = {
        size = mkOption {
          type = types.int;
  
negative.code:         description = "Number of history lines to keep.";
        };
  
        save = mkOption {
          type = types.int;
          defaultText = 10000;
          default = config.size;
          description = "Number of history lines to save.";
        };
  
        path = mkOption {
          type = types.str;
          default = relToDotDir ".zsh_history";
  