docs(web/guides/local-overlay): use context=caution for callouts

This makes them yellow, with a triangle, and a "Caution" title, which is
more appropriate for these warnings.

Change-Id: I2a99db30427bfd6003766214026c9be66acf8a0e
Reviewed-on: https://cl.snix.dev/c/snix/+/30450
Autosubmit: Florian Klink <flokli@flokli.de>
Reviewed-by: Vova Kryachko <v.kryachko@gmail.com>
Tested-by: besadii
This commit is contained in:
Florian Klink 2025-05-04 19:46:21 +03:00 committed by clbot
parent 8b04f098da
commit bce2caaabe

View file

@ -66,7 +66,7 @@ Nix will communicate with it to get metadata about store paths.
### Create an overlayfs mount
{{<callout>}}
{{< callout context="caution" title="Caution" icon="outline/alert-triangle" >}}
Depending on your usecase, this might not be appropriate for a physical NixOS
system, replacing `/nix` globally.
@ -125,7 +125,7 @@ This can be achieved by either setting the env variable
With the above setup you should now be able to have nix use Snix castore as its
lower store.
{{<callout>}}
{{< callout context="caution" title="Caution" icon="outline/alert-triangle" >}}
There are some known (and not yet worked-on) performance issues in Snix
castore, which is why the mount is expected to perform slower than the native
file-system. Depending on your workload, this might or might not be an issue.