diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index c6fdcca..1db1d90 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -327,6 +327,9 @@ ACTION=="add", SUBSYSTEM=="tty", \ ALLOWED_TYPES = */* ''; }; + systemd.tmpfiles.rules = [ + "L+ '${config.services.gitea.stateDir}/custom/templates/home.tmpl' - - - - ${./gitea-home.tmpl}" + ]; services.mattermost = { enable = true; diff --git a/nixbld-etc-nixos/gitea-home.tmpl b/nixbld-etc-nixos/gitea-home.tmpl new file mode 100644 index 0000000..e70c4f4 --- /dev/null +++ b/nixbld-etc-nixos/gitea-home.tmpl @@ -0,0 +1,23 @@ +{{template "base/head" .}} +
+ Welcome! This Gitea instance is here to support projects related to M-Labs. You may want to browse the M-Labs organization where many projects are located. If you would like an account (we give them to anyone who wants to contribute on projects related to Sinara, ARTIQ, nMigen, etc.), simply write a short email to sb@m-***.hk stating the username you would like to have. +
+