Compare commits
No commits in common. "6de4d0bd81c6235d7b8aee62e0cc91a64aaf9119" and "8f6e2b9ce25d20455611b0a1d9cf1062dc7c14b2" have entirely different histories.
6de4d0bd81
...
8f6e2b9ce2
6 changed files with 96 additions and 36 deletions
|
|
@ -74,7 +74,7 @@ in {
|
||||||
background_coloring = "disabled";
|
background_coloring = "disabled";
|
||||||
};
|
};
|
||||||
hour_format = "hour24";
|
hour_format = "hour24";
|
||||||
remove_trailing_whitespace_on_save = false;
|
remove_trailing_whitespace_on_save = true;
|
||||||
use_smartcase_search = true;
|
use_smartcase_search = true;
|
||||||
soft_wrap = "editor_width";
|
soft_wrap = "editor_width";
|
||||||
tab_size = 2;
|
tab_size = 2;
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ menu_items = [
|
||||||
{name = "about", url = "$BASE_URL/about"},
|
{name = "about", url = "$BASE_URL/about"},
|
||||||
{name = "lib", url = "$BASE_URL/lib"},
|
{name = "lib", url = "$BASE_URL/lib"},
|
||||||
{name = "blog", url = "$BASE_URL/blog"},
|
{name = "blog", url = "$BASE_URL/blog"},
|
||||||
{name = "leaderboard", url = "$BASE_URL/leaderboard"},
|
{name = "boardgame night highscores", url = "$BASE_URL/leaderboard"},
|
||||||
{name = "wiki↗", url = "https://wiki.posixlycorrect.com", newtab = true},
|
{name = "wiki↗", url = "https://wiki.posixlycorrect.com", newtab = true},
|
||||||
{name = "git↗", url = "https://git.posixlycorrect.com", newtab = true},
|
{name = "git↗", url = "https://git.posixlycorrect.com", newtab = true},
|
||||||
{name = "notes↗", url = "https://notes.posixlycorrect.com", newtab = true},
|
{name = "notes↗", url = "https://notes.posixlycorrect.com", newtab = true},
|
||||||
|
|
|
||||||
|
|
@ -1,34 +0,0 @@
|
||||||
+++
|
|
||||||
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>
|
|
||||||
|
|
@ -12,10 +12,12 @@ with lib; {
|
||||||
./forgejo.nix
|
./forgejo.nix
|
||||||
./vaultwarden.nix
|
./vaultwarden.nix
|
||||||
./msmtp.nix
|
./msmtp.nix
|
||||||
|
./paperless.nix
|
||||||
./trilium.nix
|
./trilium.nix
|
||||||
./syncthing.nix
|
./syncthing.nix
|
||||||
./calibre-web.nix
|
./calibre-web.nix
|
||||||
./immich.nix
|
./immich.nix
|
||||||
|
./wiki-js.nix
|
||||||
./mealie.nix
|
./mealie.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
39
sys/platforms/vps/srv/paperless.nix
Normal file
39
sys/platforms/vps/srv/paperless.nix
Normal file
|
|
@ -0,0 +1,39 @@
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
53
sys/platforms/vps/srv/wiki-js.nix
Normal file
53
sys/platforms/vps/srv/wiki-js.nix
Normal file
|
|
@ -0,0 +1,53 @@
|
||||||
|
{
|
||||||
|
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;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue