From a1d276a75371494a7145fa58135e5c8bc6c0c397 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Mon, 6 Jul 2020 20:13:25 +0200 Subject: pkgs/profpatsch.de: add toc.txt --- pkgs/profpatsch/default.nix | 2 +- pkgs/profpatsch/profpatsch.de/default.nix | 7 ++++++- pkgs/profpatsch/profpatsch.de/toc.txt | 7 +++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 pkgs/profpatsch/profpatsch.de/toc.txt (limited to 'pkgs/profpatsch') diff --git a/pkgs/profpatsch/default.nix b/pkgs/profpatsch/default.nix index 999382c0..6371e85e 100644 --- a/pkgs/profpatsch/default.nix +++ b/pkgs/profpatsch/default.nix @@ -184,7 +184,7 @@ in rec { inherit symlink; }; - inherit (import ./profpatsch.de { inherit pkgs lib toNetstring writeExecline runExecline getBins writeRustSimple netencode-rs el-semicolon el-exec el-substitute netencode; }) + inherit (import ./profpatsch.de { inherit pkgs lib toNetstring writeExecline runExecline getBins writeRustSimple netencode-rs el-semicolon el-exec el-substitute netencode record-get; }) websiteStatic importas-if ; diff --git a/pkgs/profpatsch/profpatsch.de/default.nix b/pkgs/profpatsch/profpatsch.de/default.nix index 4781d440..51489393 100644 --- a/pkgs/profpatsch/profpatsch.de/default.nix +++ b/pkgs/profpatsch/profpatsch.de/default.nix @@ -1,4 +1,4 @@ -{ pkgs, lib, toNetstring, writeExecline, runExecline, getBins, writeRustSimple, netencode-rs, el-semicolon, el-substitute, el-exec, netencode }: +{ pkgs, lib, toNetstring, writeExecline, runExecline, getBins, writeRustSimple, netencode-rs, el-semicolon, el-substitute, el-exec, netencode, record-get }: let bins = getBins pkgs.coreutils [ "ln" "mkdir" "echo" "printenv" "cat" "env" ] @@ -84,6 +84,11 @@ let inherit cv_pdf id_txt; }; }; + toc = { + relativeDir = []; + relativeFile = "toc"; + path = ./toc.txt; + }; }; importas-if = writeRustSimple "importas-if" { diff --git a/pkgs/profpatsch/profpatsch.de/toc.txt b/pkgs/profpatsch/profpatsch.de/toc.txt new file mode 100644 index 00000000..57e909e2 --- /dev/null +++ b/pkgs/profpatsch/profpatsch.de/toc.txt @@ -0,0 +1,7 @@ +that-one-channel Terms & Conditions + +1. what happens in the channel stays in the channel +2. no public logs +3. $people are gonna say strange things and post strange links. this will not be held against $people +4. it’s lewd, it’s nsfw, it’s sometimes furry and sometimes strange. deal with it. don’t tell your boss +5. ravioli ravioli, don’t lewd the dragon loli -- cgit 1.4.1