From 09743f0556e85690963595718a152b646483ac29 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Mon, 24 Aug 2020 10:56:38 -0300 Subject: Add cgit simple root-readme and root-desc --- cgit-about.html | 8 ++++++++ nixos-switch.sh | 1 + vps-configuration.env.nix | 2 ++ 3 files changed, 11 insertions(+) create mode 100644 cgit-about.html 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 @@ +

+ EuAndreh's git repositories +

+ +

+ If you're interested in contributing, the README of each repository contains + instructions on how to do it. +

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 -- cgit v1.3