1 { config, lib, pkgs, ... }:
6 cfg = config.programs.zsh.zsh-autoenv;
9 programs.zsh.zsh-autoenv = {
10 enable = mkEnableOption (lib.mdDoc "zsh-autoenv");
12 default = pkgs.zsh-autoenv;
13 defaultText = literalExpression "pkgs.zsh-autoenv";
14 description = lib.mdDoc ''
15 Package to install for `zsh-autoenv` usage.
23 config = mkIf cfg.enable {
24 programs.zsh.interactiveShellInit = ''
25 source ${cfg.package}/share/zsh-autoenv/autoenv.zsh