Browse Source

nixbld: add account creation note to gitea signin page

pull/13/head
Sebastien Bourdeauducq 9 months ago
parent
commit
169876e211
  1. 1
      nixbld-etc-nixos/configuration.nix
  2. 11
      nixbld-etc-nixos/gitea-signin.tmpl

1
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 = {

11
nixbld-etc-nixos/gitea-signin.tmpl

@ -0,0 +1,11 @@
{{template "base/head" .}}
<div class="page-content user signin{{if .LinkAccountMode}} icon{{end}}">
{{template "user/auth/signin_navbar" .}}
<div class="ui middle very relaxed page grid">
<div class="ui container column">
{{template "user/auth/signin_inner" .}}
To get an account (also available to external contributors), simply write to sb@m-***s.hk.
</div>
</div>
</div>
{{template "base/footer" .}}
Loading…
Cancel
Save