s0meMiniPC-nix -> viola: rename
Signed-off-by: s0me1newithhand7s <git+me@hand7s.org>
This commit is contained in:
parent
cbd0c3661c
commit
7b5e5f218b
72 changed files with 101 additions and 98 deletions
43
viola/services/privatebin.nix
Normal file
43
viola/services/privatebin.nix
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
{...}: {
|
||||
services = {
|
||||
privatebin = {
|
||||
enable = true;
|
||||
enableNginx = true;
|
||||
virtualHost = "bin.hand7s.org";
|
||||
settings = {
|
||||
main = {
|
||||
name = "hand7s bin";
|
||||
discussion = false;
|
||||
qrcode = false;
|
||||
compression = "none";
|
||||
defaultformatter = "plaintext";
|
||||
fileupload = false;
|
||||
languageselection = false;
|
||||
password = true;
|
||||
sizelimit = 10 * 1000 * 1000;
|
||||
template = "bootstrap5";
|
||||
};
|
||||
|
||||
expire = {
|
||||
default = "1week";
|
||||
clone = false;
|
||||
};
|
||||
|
||||
formatter_options = {
|
||||
markdown = "Markdown";
|
||||
plaintext = "Plain Text";
|
||||
syntaxhighlighting = "Source Code";
|
||||
};
|
||||
|
||||
traffic = {
|
||||
limit = 5;
|
||||
};
|
||||
|
||||
purge = {
|
||||
limit = 0;
|
||||
batchsize = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue