{ config, lib, ... }: with lib; { options = { custom.feature1 = mkEnableOption "feature1"; }; config = mkIf config.custom.feature1 { services.mysql.enable = true; }; }