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-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
|
||||||
|
|
|
@ -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" ];
|
|
||||||
|
|
||||||
}
|
}
|
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue