feat(gitea): landing page is owner's activity tab
This commit is contained in:
1 parent
bfbac8b961
commit
d80fee77c8
1 file changed
+5
-1
@@ -2,7 +2,9 @@
|
||||
den.aspects.services.gitea = let port = 3002; in {
|
||||
tunnel = { subdomain = "git"; inherit port; };
|
||||
|
||||
nixos = { host, ... }: {
|
||||
nixos = { host, config, ... }: {
|
||||
# ponytail: cleans up the old custom home.tmpl link; delete this line after one deploy
|
||||
systemd.tmpfiles.rules = [ "r '${config.services.gitea.customDir}/templates/home.tmpl'" ];
|
||||
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
@@ -15,6 +17,8 @@
|
||||
|
||||
settings.server.HTTP_PORT = port;
|
||||
settings.server.ROOT_URL = "https://git.${host.domain}/";
|
||||
# logged-out homepage = owner profile activity tab (gitea's own heatmap + commit feed)
|
||||
settings.server.LANDING_PAGE = "/${host.owner}?tab=activity";
|
||||
|
||||
/*
|
||||
mirrors = {
|
||||
|
||||
Reference in new issue
Block a user