https://github.com/ionutbortis/gnome-bedtime-mode
Yeah, you have to do some installing to get the feature you never knew you needed.