pds: tenna

This commit is contained in:
2026-03-07 10:49:33 +02:00
parent 0c42a480c6
commit 08f94eaafc
7 changed files with 129 additions and 66 deletions

View File

@@ -1,3 +1,11 @@
@favicon path /favicon.ico
handle @favicon {
root * /lib/system-utdr-assets
rewrite * /tenna.ico
header Content-Type "image/vnd.microsoft.icon" # <-- microslop
file_server
}
@root path /
handle @root {
header Content-Type "text/plain; charset=utf-8"

View File

@@ -5,6 +5,10 @@
...
}:
let
systemUtdrAssets = pkgs.callPackage ./system-utdr-assets { };
in
{
# TODO:
@@ -19,17 +23,21 @@
PDS_CRAWLERS = "https://bsky.network";
LOG_ENABLED = "true";
PDS_HOSTNAME = "castletown.darkworld.download";
PDS_VERSION = "\"DELTARUNE TOMMOROW!!!!\"";
PDS_VERSION = "\"That feeling when Deltarune........ tomorrow! :3\"";
PDS_DID_PLC_URL = "https://plc.directory";
PDS_CONTACT_EMAIL_ADDRESS = "ocbwoy3@ocbwoy3.dev";
PDS_PRIVACY_POLICY_URL = "https://bsky.social/about/support/privacy-policy";
PDS_TERMS_OF_SERVICE_URL = "https://bsky.social/about/support/tos";
PDS_CONTACT_EMAIL_ADDRESS = "kris@darkworld.download";
# PDS_PRIVACY_POLICY_URL = "https://bsky.social/about/support/privacy-policy";
# PDS_TERMS_OF_SERVICE_URL = "https://bsky.social/about/support/tos";
PDS_ACCEPTING_REPO_IMPORTS = "true";
};
};
# Set host header to `localhost` in tunnel settings otherwise you'll end up wasting countless hours of your life
systemd.tmpfiles.rules = [
"L+ /lib/system-utdr-assets - - - - ${systemUtdrAssets}/lib/system-utdr-assets"
];
services.caddy = {
enable = true;
globalConfig = ''

View File

@@ -0,0 +1,21 @@
{ stdenvNoCC, lib }:
stdenvNoCC.mkDerivation {
pname = "system-utdr-assets";
version = "1.0.0";
src = ./.;
installPhase = ''
mkdir -p "$out/lib/system-utdr-assets"
cp "$src/tenna.ico" "$out/lib/system-utdr-assets/tenna.ico"
cp "$src/logo.png" "$out/lib/system-utdr-assets/logo.png"
cp "$src/favicon.png" "$out/lib/system-utdr-assets/favicon.png"
'';
meta = with lib; {
description = "System Undertale & Deltarune assets";
license = licenses.unfree;
maintainers = with maintainers; [ ];
};
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 864 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB