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-vault.nix
./services-forgejo.nix
#./kiosk.nix
./trilium.nix
./gitea.nix
./atuin.nix
./cache.nix

View file

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

View file

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