Privatebin: Set theme to bootstrap.

This commit is contained in:
Dmitry Voronin 2024-11-06 12:56:58 +03:00
parent 84380ecf17
commit 2a9e12a437
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -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;
}