{ lib, osConfig, pkgs, ... }: with lib; let cfg = osConfig.modules.zsh; in { config = mkIf cfg.enable { home.packages = with pkgs; [ zsh ]; home.file."./.zshrc-personal".text = '' export EDITOR=vim ''; }; }