aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cgit-about.html8
-rwxr-xr-xnixos-switch.sh1
-rw-r--r--vps-configuration.env.nix2
3 files changed, 11 insertions, 0 deletions
diff --git a/cgit-about.html b/cgit-about.html
new file mode 100644
index 0000000..159a092
--- /dev/null
+++ b/cgit-about.html
@@ -0,0 +1,8 @@
+<h1>
+ EuAndreh's git repositories
+</h1>
+
+<p>
+ If you're interested in contributing, the README of each repository contains
+ instructions on how to do it.
+</p>
diff --git a/nixos-switch.sh b/nixos-switch.sh
index a7ca73f..90f54cc 100755
--- a/nixos-switch.sh
+++ b/nixos-switch.sh
@@ -11,6 +11,7 @@ echo "${USER_PASSWORD}" | ssh "$TLD" sudo -S -i nixos-rebuild switch --upgrade
ssh "${TLD}" rm -rf "${DATA_ROOT}/favicons/"
rsync -avzP favicons/ "${TLD}:${DATA_ROOT}/favicons/"
+scp cgit-about.html "${TLD}:${GIT_ROOT}/about.html"
scp bash-profile.sh "${TLD}:.bash_profile"
# shellcheck disable=2050
diff --git a/vps-configuration.env.nix b/vps-configuration.env.nix
index edfa9b1..b9218f2 100644
--- a/vps-configuration.env.nix
+++ b/vps-configuration.env.nix
@@ -245,6 +245,8 @@ in {
enable-index-owner=0
enable-log-filecount=1
enable-log-linecount=1
+ root-desc=public repositories
+ root-readme=${envsubstConfiguration.gitRoot}/about.html
max-repodesc-length=120
repo.readme=:README.md
remove-suffix=1