9 cfg = config.programs.zsh.zsh-autoenv;
13 programs.zsh.zsh-autoenv = {
14 enable = lib.mkEnableOption "zsh-autoenv";
15 package = lib.mkPackageOption pkgs "zsh-autoenv" { };
19 config = lib.mkIf cfg.enable {
20 programs.zsh.interactiveShellInit = ''
21 source ${cfg.package}/share/zsh-autoenv/autoenv.zsh