gitea -> forgejo
This commit is contained in:
parent
4c6f37ed89
commit
ff2ac19279
3 changed files with 5 additions and 10 deletions
|
@ -51,10 +51,10 @@
|
|||
|
||||
./services-s3.nix
|
||||
./services-vault.nix
|
||||
./services-forgejo.nix
|
||||
|
||||
#./kiosk.nix
|
||||
./trilium.nix
|
||||
./gitea.nix
|
||||
./atuin.nix
|
||||
|
||||
./cache.nix
|
||||
|
|
|
@ -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" ];
|
||||
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue