pds: tenna
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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 = ''
|
||||
|
||||
21
hosts/server/modules/system-utdr-assets/default.nix
Normal file
21
hosts/server/modules/system-utdr-assets/default.nix
Normal 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; [ ];
|
||||
};
|
||||
}
|
||||
BIN
hosts/server/modules/system-utdr-assets/favicon.png
Normal file
BIN
hosts/server/modules/system-utdr-assets/favicon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 16 KiB |
BIN
hosts/server/modules/system-utdr-assets/logo.png
Normal file
BIN
hosts/server/modules/system-utdr-assets/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 864 KiB |
BIN
hosts/server/modules/system-utdr-assets/tenna.ico
Normal file
BIN
hosts/server/modules/system-utdr-assets/tenna.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
Reference in New Issue
Block a user