From 169876e2113d1afa65b1369a2e6c507263ffdfc4 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 23 Jan 2021 17:20:05 +0800 Subject: [PATCH] nixbld: add account creation note to gitea signin page --- nixbld-etc-nixos/configuration.nix | 1 + nixbld-etc-nixos/gitea-signin.tmpl | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 nixbld-etc-nixos/gitea-signin.tmpl diff --git a/nixbld-etc-nixos/configuration.nix b/nixbld-etc-nixos/configuration.nix index de2fc50..4d13183 100644 --- a/nixbld-etc-nixos/configuration.nix +++ b/nixbld-etc-nixos/configuration.nix @@ -390,6 +390,7 @@ in }; systemd.tmpfiles.rules = [ "L+ '${config.services.gitea.stateDir}/custom/templates/home.tmpl' - - - - ${./gitea-home.tmpl}" + "L+ '${config.services.gitea.stateDir}/custom/templates/user/auth/signin.tmpl' - - - - ${./gitea-signin.tmpl}" ]; services.mattermost = { diff --git a/nixbld-etc-nixos/gitea-signin.tmpl b/nixbld-etc-nixos/gitea-signin.tmpl new file mode 100644 index 0000000..7613741 --- /dev/null +++ b/nixbld-etc-nixos/gitea-signin.tmpl @@ -0,0 +1,11 @@ +{{template "base/head" .}} +
+ {{template "user/auth/signin_navbar" .}} +
+
+ {{template "user/auth/signin_inner" .}} + To get an account (also available to external contributors), simply write to sb@m-***s.hk. +
+
+
+{{template "base/footer" .}}