From 79d4c6e7683fca9b90893a5c866926995485bdd8 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Tue, 16 Apr 2024 10:39:58 +0200 Subject: [PATCH] Make it one part instead of multiple levels --- nixos/server/package-configs/forgejo/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/server/package-configs/forgejo/default.nix b/nixos/server/package-configs/forgejo/default.nix index f5f6157..a0c278e 100644 --- a/nixos/server/package-configs/forgejo/default.nix +++ b/nixos/server/package-configs/forgejo/default.nix @@ -64,14 +64,14 @@ ROOT_URL = "https://git.lillianviolet.dev/"; HTTP_PORT = 3218; }; - markup.jupyter = { + "markup.jupyter" = { ENABLED = true; FILE_EXTENSIONS = ".ipynb"; RENDER_COMMAND = "${pkgs.jupyter}/bin/jupyter nbconvert --stdout --to html --template full"; IS_INPUT_FILE = true; RENDER_CONTENT_MODE = "no-sanitizer"; }; - markup.sanitizer.jupyter0 = { + "markup.sanitizer.jupyter0" = { ELEMENT = "div"; ALLOW_ATTR = "class"; REGEXP = "";