{ pkgs, lib, config, ... }: let cfg = config._archetypes.collections.desktop.video; in { options._archetypes.collections.desktop.video = { enable = lib.mkEnableOption "install video capture and editing software"; }; config = lib.mkIf cfg.enable { environment.systemPackages = with pkgs; [ dvgrab ffmpeg mpv obs-studio vlc ]; }; }