From bce2caaabea7a8a36993ae3799c629100ac4cb56 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Sun, 4 May 2025 19:46:21 +0300 Subject: [PATCH] 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 Reviewed-by: Vova Kryachko Tested-by: besadii --- web/content/docs/guides/local-overlay.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/content/docs/guides/local-overlay.md b/web/content/docs/guides/local-overlay.md index a5d4ca929..9fbe157ab 100644 --- a/web/content/docs/guides/local-overlay.md +++ b/web/content/docs/guides/local-overlay.md @@ -66,7 +66,7 @@ Nix will communicate with it to get metadata about store paths. ### Create an overlayfs mount -{{}} +{{< 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 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.