{ config, lib, pkgs, ... }: with lib; let cfg = config.profiles.media.graphics; in { options.profiles.media.graphics.enable = mkEnableOption "enable graphic tools"; config = mkIf cfg.enable { home.packages = with pkgs; [ photocraft inkscape ]; }; }