{ pkgs, config, lib, ... }: { options = { myApps.textEditor.enable = lib.mkEnableOption "enables textEditor Apps"; }; config = lib.mkIf config.myApps.textEditor.enable { programs.fish.interactiveShellInit = '' alias zed zeditor ''; environment.systemPackages = with pkgs; [ vscode zed-editor ]; }; }