diff --git a/options/custom/programs/ghostty.nix b/options/custom/programs/ghostty.nix
index cdd2e30..e41e237 100644
--- a/options/custom/programs/ghostty.nix
+++ b/options/custom/programs/ghostty.nix
@@ -59,6 +59,10 @@ in {
             # https://ghostty.org/docs/config/reference#mouse-scroll-multiplier
             mouse-scroll-multiplier = 2;
 
+            # https://ghostty.org/docs/config/reference#scrollback-limit
+            #!! Per terminal surface
+            scrollback-limit = 1 * 1024 * 1024 * 1024; # GiB
+
             # https://ghostty.org/docs/config/reference#shell-integration-features
             shell-integration-features = "no-cursor";