{ config, lib, pkgs, ... }: let inherit (lib.modules) mkIf; inherit (lib.options) mkEnableOption; cfg = config.coreDesktop; in { options.programs.common = { enable = mkEnableOption "Config and Utils for Desktop"; }; config = mkIf cfg.enable { environment.systemPackages = with pkgs; [ vscodium brave ]; }; }