gitea -> forgejo

This commit is contained in:
Ingolf Wagner 2024-05-08 22:07:30 +02:00
parent 4c6f37ed89
commit ff2ac19279
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 5 additions and 10 deletions

View file

@ -51,10 +51,10 @@
./services-s3.nix ./services-s3.nix
./services-vault.nix ./services-vault.nix
./services-forgejo.nix
#./kiosk.nix #./kiosk.nix
./trilium.nix ./trilium.nix
./gitea.nix
./atuin.nix ./atuin.nix
./cache.nix ./cache.nix

View file

@ -17,12 +17,11 @@
}; };
}; };
services.gitea = { services.forgejo = {
enable = true; enable = true;
appName = "git.chungus.private"; stateDir = "/srv/forgejo";
package = pkgs.forgejo;
stateDir = "/srv/gitea";
settings = { settings = {
DEFAULT.APP_NAME = "git.chungus.private";
server.ROOT_URL = "http://git.chungus.private/"; server.ROOT_URL = "http://git.chungus.private/";
server.DOMAIN = "git.chungus.private"; server.DOMAIN = "git.chungus.private";
service.DISABLE_REGISTRATION = false; service.DISABLE_REGISTRATION = false;
@ -34,6 +33,4 @@
}; };
}; };
# backup.dirs = [ "/srv/gitea" ];
} }

View file

@ -17,12 +17,10 @@
services.forgejo = { services.forgejo = {
enable = true; enable = true;
appName = "git.ingolf-wagner.de";
#cookieSecure = true;
#disableRegistration = true;
settings = { settings = {
server.ROOT_URL = "https://git.ingolf-wagner.de/"; server.ROOT_URL = "https://git.ingolf-wagner.de/";
server.DOMAIN = "git.ingolf-wagner.de"; server.DOMAIN = "git.ingolf-wagner.de";
DEFAULT.APP_NAME = "git.ingolf-wagner.de";
service.DISABLE_REGISTRATION = true; service.DISABLE_REGISTRATION = true;
session.COOKIE_SECURE = true; session.COOKIE_SECURE = true;
log.LEVEL = "Warn"; log.LEVEL = "Warn";