summaryrefslogtreecommitdiff
path: root/nix/data
diff options
context:
space:
mode:
authorPreston Pan <ret2pop@nullring.xyz>2026-03-02 00:03:12 -0800
committerPreston Pan <ret2pop@nullring.xyz>2026-03-02 00:03:12 -0800
commit9484c4ec525c02caa8a65ecfe37ed24f1d4b321d (patch)
tree676712a1504939b37a69fbee9c235dc61917cd65 /nix/data
parenta05e0614c1bb75f77717a943dc4ac75a0cca4652 (diff)
Remove local nix directory to prepare for submodule
Diffstat (limited to 'nix/data')
-rwxr-xr-xnix/data/deploy-matterbridge.sh25
-rw-r--r--nix/data/matterbridge.toml25
-rw-r--r--nix/data/motd.txt8
-rw-r--r--nix/data/public-inbox.css143
4 files changed, 0 insertions, 201 deletions
diff --git a/nix/data/deploy-matterbridge.sh b/nix/data/deploy-matterbridge.sh
deleted file mode 100755
index a0758ec..0000000
--- a/nix/data/deploy-matterbridge.sh
+++ /dev/null
@@ -1,25 +0,0 @@
-set -e # Exit on error
-
-# Ensure required environment variables are set
-#: "${MATTERBRIDGE_DISCORD_TOKEN:?Need to set MATTERBRIDGE_DISCORD_TOKEN}"
-: "${MATTERBRIDGE_MATRIX_PASS:?Need to set MATTERBRIDGE_MATRIX_PASS}"
-
-# Define paths
-TEMPLATE_CONFIG="matterbridge.toml"
-GENERATED_CONFIG="matterbridge.built.toml"
-REMOTE_SERVER="root@nullring.xyz"
-REMOTE_PATH="/etc/matterbridge.toml"
-
-# Generate config file
-sed "s|\${MATTERBRIDGE_MATRIX_PASS}|$MATTERBRIDGE_MATRIX_PASS|g" $TEMPLATE_CONFIG > $GENERATED_CONFIG
-
-# Securely transfer to server
-scp "$GENERATED_CONFIG" "$REMOTE_SERVER:$REMOTE_PATH"
-
-# Restart Matterbridge service
-ssh "$REMOTE_SERVER" "sudo systemctl restart matterbridge"
-
-# delete config file with secrets from repo
-shred -u "$GENERATED_CONFIG"
-
-echo "✅ Matterbridge config deployed successfully!"
diff --git a/nix/data/matterbridge.toml b/nix/data/matterbridge.toml
deleted file mode 100644
index aebb8c2..0000000
--- a/nix/data/matterbridge.toml
+++ /dev/null
@@ -1,25 +0,0 @@
-[matrix.mymatrix]
-Server="https://matrix.ret2pop.net"
-Login="bridge"
-Password="${MATTERBRIDGE_MATRIX_PASS}"
-RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
-NoHomeServerSuffix=true
-
-[irc.myirc]
-Server="nullring.xyz:6697"
-Nick="bridge"
-RemoteNickFormat="[{PROTOCOL}] <{NICK}> "
-UseTLS=true
-SkipTLSVerify=true
-
-[[gateway]]
-name="gateway1"
-enable=true
-
-[[gateway.inout]]
-account="matrix.mymatrix"
-channel="!BQZli4UPBNC5w6ntXu:matrix.ret2pop.net"
-
-[[gateway.inout]]
-account="irc.myirc"
-channel="#nullring" \ No newline at end of file
diff --git a/nix/data/motd.txt b/nix/data/motd.txt
deleted file mode 100644
index ffcd31f..0000000
--- a/nix/data/motd.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-Welcome to the NullRing experience!
-The main channel is #nullring; we're glad to have you!
-
-Rules:
-1. Don't be annoying.
-2. No illegal content.
-And if you're here to have constructive, philisophical and theoretical
-conversations, this is the place for you!
diff --git a/nix/data/public-inbox.css b/nix/data/public-inbox.css
deleted file mode 100644
index df94873..0000000
--- a/nix/data/public-inbox.css
+++ /dev/null
@@ -1,143 +0,0 @@
-:root {
- --bg: #f8f9fa;
- --fg: #2e3440;
- --link: #5e81ac;
- --link-hover: #81a1c1;
- --border: #d8dee9;
- --card-bg: #ffffff;
- --meta-fg: #4c566a; /* Darker gray for better legibility */
- --btn-fg: #ffffff;
- --max-width: 780px;
-}
-
-@media (prefers-color-scheme: dark) {
- :root {
- --bg: #1a1b26;
- --fg: #a9b1d6;
- --link: #7aa2f7;
- --link-hover: #bb9af7;
- --border: #414868; /* Distinct border for dark mode */
- --card-bg: #1f2335;
- --meta-fg: #9aa5ce; /* Brighter gray for dark mode */
- --btn-fg: #1a1b26;
- }
-}
-
-span.q {
- color: var(--meta-fg);
- font-style: italic;
-}
-
-body {
- background-color: var(--bg);
- color: var(--fg);
- line-height: 1.6;
- max-width: var(--max-width);
- margin: 3rem auto;
- padding: 0 1.5rem;
- font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
-
- /* Keep this for smoother rendering on macOS/iOS */
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
-}
-
-/* 1. Global Link Fixes */
-body a, body a:visited {
- color: var(--link);
-}
-
-/* 2. Card Styling */
-body pre {
- white-space: pre-wrap;
- background: var(--card-bg);
- padding: 2rem;
- border-radius: 12px;
- border: 1px solid var(--border);
- margin-bottom: 2.5rem;
-}
-
-/* 3. Header Cleanup */
-body pre b:first-of-type {
- font-weight: 700;
- color: var(--link);
- font-size: 1.1rem;
- display: block;
- margin-bottom: 0.5rem;
-}
-
-/* 4. Fixing the "Permalink" label on documentation */
-/* We target links ending in / but EXCLUDE system paths like help or mirror */
-body pre a[href$="/"]:not([href*="_/"]):not([href*="new.atom"]) {
- font-size: 0;
- text-decoration: none;
- margin-right: 10px;
-}
-
-body pre a[href$="/"]:not([href*="_/"]):not([href*="new.atom"]):after {
- content: "permalink";
- font-size: 11px;
- font-weight: bold;
- color: var(--fg); /* Use main text color for high contrast */
- background: var(--bg);
- border: 1px solid var(--link); /* Use link color for the border */
- padding: 4px 10px;
- border-radius: 4px;
- display: inline-block;
-}
-
-/* 5. Fixing the "Raw" button contrast */
-body pre a[href$="/raw"] {
- font-size: 0;
- text-decoration: none;
-}
-
-body pre a[href$="/raw"]:after {
- content: "raw";
- font-size: 11px;
- font-weight: bold;
- color: var(--fg);
- background: var(--bg);
- border: 1px solid var(--link);
- padding: 4px 10px;
- border-radius: 4px;
- display: inline-block;
-}
-
-/* Hover effect for ghost buttons: solid color shift */
-body pre a[href$="/"]:hover:after,
-body pre a[href$="/raw"]:hover:after {
- background: var(--link);
- color: var(--btn-fg);
-}
-
-/* 6. The Reply Button (Primary Action) */
-body pre a[href$="#R"], body pre a[href$="#R"]:visited {
- font-size: 0;
- text-decoration: none;
-}
-
-body pre a[href$="#R"]:after {
- content: "REPLY";
- font-size: 12px;
- font-weight: bold;
- padding: 6px 20px;
- background: var(--link);
- color: var(--btn-fg);
- border-radius: 6px;
- display: inline-block;
- margin-left: 10px;
-}
-
-/* 7. Hide clutter */
-body pre a[href^="#r"], body pre a[href^="#r"] + b, body hr {
- display: none;
-}
-
-/* Fix: Mathematically outscore the header rule to keep link text inline */
-body pre a[href] b:first-of-type {
- display: inline;
- font-size: inherit;
- margin-bottom: 0;
- color: inherit;
-}