{ config, lib, ... }: with lib; let cfg = config.myOptions.programs.starship; inherit (config.myOptions.other.system) username; in { options.myOptions.programs.zoxide.enable = mkEnableOption "zoxide"; config = mkIf cfg.enable { home-manager.users.${username} = { programs.zoxide = { enable = true; enableZshIntegration = config.myOptions.programs.zsh.enable; }; }; }; }