let
  subList = [
    "privacy"
    "selfhosted"
    "vegan"
  ];

  subredditEntries = builtins.map (sub: {
    type = "reddit";
    subreddit = sub;
    collapse-after = 5;
    show-thumbnails = true;
    sort-by = "top";
    top-period = "day";
  }) subList;

in
{
  type = "group";
  widgets = subredditEntries;
}
