{ config, lib, pkgs, ... }: with lib; let cfg = config.ryan.sketchybar; in { options.ryan.sketchybar.enable = mkEnableOption "sketchybar"; config = mkIf cfg.enable { # Enable the service programs.sketchybar = { enable = true; extraPackages = [ pkgs.jq ]; config = { source = ./bar-config; recursive = true; }; }; }; }