diff --git a/home/modules/zed.nix b/home/modules/zed.nix index ff80633..1b79e2a 100644 --- a/home/modules/zed.nix +++ b/home/modules/zed.nix @@ -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; diff --git a/homepage/posixlycorrect/config.toml b/homepage/posixlycorrect/config.toml index 0ace7f1..090ea5d 100644 --- a/homepage/posixlycorrect/config.toml +++ b/homepage/posixlycorrect/config.toml @@ -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}, diff --git a/homepage/posixlycorrect/content/leaderboard.md b/homepage/posixlycorrect/content/leaderboard.md new file mode 100644 index 0000000..5a69033 --- /dev/null +++ b/homepage/posixlycorrect/content/leaderboard.md @@ -0,0 +1,34 @@ ++++ +title = "boardgame night leaderboard" ++++ +### Catan: Cities & Knights / Seafarers +
+Fabian:  ● ● ◐
+Joshua:  ● ●
+Vanessa: ● ◐
+Sofía:   ●
+
+ +
+ +### Coup +
+Vanessa: ● ●
+Sofía:   ● 
+Díaz:    ● 
+Joshua:  ● 
+
+ +
+ +### Card Assassin +
+Chema:   ● ●
+
+ +
+ +### Skull King +
+Chema:   ● ●
+
diff --git a/sys/platforms/vps/srv/default.nix b/sys/platforms/vps/srv/default.nix index 8c6abcf..f4cb031 100644 --- a/sys/platforms/vps/srv/default.nix +++ b/sys/platforms/vps/srv/default.nix @@ -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 ]; } diff --git a/sys/platforms/vps/srv/paperless.nix b/sys/platforms/vps/srv/paperless.nix deleted file mode 100644 index cb62bd9..0000000 --- a/sys/platforms/vps/srv/paperless.nix +++ /dev/null @@ -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; - }; - }; - }; - }; -} diff --git a/sys/platforms/vps/srv/wiki-js.nix b/sys/platforms/vps/srv/wiki-js.nix deleted file mode 100644 index f852db5..0000000 --- a/sys/platforms/vps/srv/wiki-js.nix +++ /dev/null @@ -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; - } - ]; - }; - }; -}