1{ lib, ... }:23with lib;45{67 options = {89 assertions = mkOption {10 type = types.listOf types.unspecified;11 internal = true;12 default = [ ];13 example = [{ assertion = false; message = "you can't enable this for that reason"; }];14 description = ''15 This option allows modules to express conditions that must16 hold for the evaluation of the system configuration to17 succeed, along with associated error messages for the user.18 '';19 };2021 warnings = mkOption {22 internal = true;23 default = [ ];24 type = types.listOf types.str;25 example = [ "The `foo' service is deprecated and will go away soon!" ];26 description = ''27 This option allows modules to show warnings to users during28 the evaluation of the system configuration.29 '';30 };3132 };33 34}