From 2a9e12a437a06b495b5a4c84ba6a1cac3a5c0c32 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 6 Nov 2024 12:56:58 +0300 Subject: [PATCH] Privatebin: Set theme to bootstrap. --- package/privatebin/Config.nix | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/package/privatebin/Config.nix b/package/privatebin/Config.nix index 04182e2b..bb87077f 100644 --- a/package/privatebin/Config.nix +++ b/package/privatebin/Config.nix @@ -4,12 +4,8 @@ lib, util, ... -}: { - file = (pkgs.formats.ini { - mkKeyValue = with lib.generators; mkKeyValueDefault { - mkValueString = v: if builtins.isString v then "\"${toString v}\"" else toString v; - } " = "; - }).generate "PrivateBinConfig" { +}: let + cfg = { main = { compression = "none"; defaultformatter = "plaintext"; @@ -21,7 +17,7 @@ password = true; qrcode = true; sizelimit = 10 * 1000 * 1000; - template = "bootstrap-dark-compact"; + template = "bootstrap"; }; expire = { default = "1week"; @@ -49,4 +45,10 @@ usr = "privatebin"; }; }; +in { + file = (pkgs.formats.ini { + mkKeyValue = with lib.generators; mkKeyValueDefault { + mkValueString = v: if builtins.isString v then "\"${toString v}\"" else toString v; + } " = "; + }).generate "PrivateBinConfig" cfg; }