Grate cheese on a fine grater, squeeze garlic through a press, add grated boiled eggs, mix with mayonnaise (sour cream, yogurt – which is more to your taste).
Lay out the top layer of cheese and eggs. You can, of course, make another potato layer, but my casserole would then fall through the edges.