Compare commits

...

3 commits

6 changed files with 36 additions and 96 deletions

View file

@ -74,7 +74,7 @@ in {
background_coloring = "disabled";
};
hour_format = "hour24";
remove_trailing_whitespace_on_save = true;
remove_trailing_whitespace_on_save = false;
use_smartcase_search = true;
soft_wrap = "editor_width";
tab_size = 2;

View file

@ -22,7 +22,7 @@ menu_items = [
{name = "about", url = "$BASE_URL/about"},
{name = "lib", url = "$BASE_URL/lib"},
{name = "blog", url = "$BASE_URL/blog"},
{name = "boardgame night highscores", url = "$BASE_URL/leaderboard"},
{name = "leaderboard", url = "$BASE_URL/leaderboard"},
{name = "wiki↗", url = "https://wiki.posixlycorrect.com", newtab = true},
{name = "git↗", url = "https://git.posixlycorrect.com", newtab = true},
{name = "notes↗", url = "https://notes.posixlycorrect.com", newtab = true},

View file

@ -0,0 +1,34 @@
+++
title = "boardgame night leaderboard"
+++
### Catan: Cities & Knights / Seafarers
<pre>
Fabian: ● ● ◐
Joshua: ● ●
Vanessa: ● ◐
Sofía: ●
</pre>
</br>
### Coup
<pre>
Vanessa: ● ●
Sofía: ●
Díaz: ●
Joshua: ●
</pre>
</br>
### Card Assassin
<pre>
Chema: ● ●
</pre>
</br>
### Skull King
<pre>
Chema: ● ●
</pre>

View file

@ -12,12 +12,10 @@ with lib; {
./forgejo.nix
./vaultwarden.nix
./msmtp.nix
./paperless.nix
./trilium.nix
./syncthing.nix
./calibre-web.nix
./immich.nix
./wiki-js.nix
./mealie.nix
];
}

View file

@ -1,39 +0,0 @@
{
lib,
pkgs,
...
}:
with lib; {
services = {
nginx = {
virtualHosts."docs.posixlycorrect.com" = {
enableACME = true;
forceSSL = true;
extraConfig = ''
proxy_headers_hash_max_size 512;
proxy_headers_hash_bucket_size 128;
'';
locations."/" = {
proxyPass = "http://127.0.0.1:28981";
};
};
};
paperless = {
enable = true;
user = "paperless";
passwordFile = "/var/trust/paperless/passwordFile";
openMPThreadingWorkaround = true; # see https://github.com/NixOS/nixpkgs/issues/240591
address = "127.0.0.1";
port = 28981;
settings = {
PAPERLESS_URL = "docs.posixlycorrect.com";
PAPERLESS_OCR_LANGUAGE = "eng+spa";
PAPERLESS_APP_TITLE = "posixlycorrect";
PAPERLESS_OCR_USER_ARGS = {
"invalidate_digital_signatures" = true;
};
};
};
};
}

View file

@ -1,53 +0,0 @@
{
lib,
pkgs,
...
}:
with lib; {
systemd.services.wiki-js = {
requires = ["postgresql.service"];
after = ["postgresql.service"];
};
services = {
nginx = {
virtualHosts."wjs.posixlycorrect.com" = {
enableACME = true;
forceSSL = true;
extraConfig = ''
proxy_headers_hash_max_size 512;
proxy_headers_hash_bucket_size 128;
'';
locations."/" = {
proxyPass = "http://127.0.0.1:3000";
};
};
};
wiki-js = {
enable = true;
environmentFile = "/var/trust/wiki-js/env.txt";
settings = {
bindIP = "127.0.0.1";
port = 3000;
db = {
db = "wiki-js";
user = "wiki-js";
type = "postgres";
host = "/run/postgresql";
};
};
};
postgresql = {
enable = true;
ensureDatabases = ["wiki-js"];
ensureUsers = [
{
name = "wiki-js";
ensureDBOwnership = true;
}
];
};
};
}