migrate from gitea to forgejo

This commit is contained in:
willifan 2024-12-23 16:02:34 +01:00
parent 985b5344f6
commit e8f134f5c7
3 changed files with 20 additions and 19 deletions

View file

@ -7,7 +7,7 @@
./disko.nix
./data.nix
./firewall.nix
./gitea.nix
./forgejo.nix
./hardware-configuration.nix
./homeassistant.nix
./invidious.nix

19
hosts/Anton/forgejo.nix Normal file
View file

@ -0,0 +1,19 @@
{ pkgs, ... }:
{
services.forgejo = {
enable = true;
package = pkgs.forgejo;
stateDir = "/mnt/data/services/forgejo";
#appName = "My low quality unfinished Projects";
settings = {
server = {
DOMAIN = "git.huwe.mooo.com";
HTTP_PORT = 3000;
};
};
};
}

View file

@ -1,18 +0,0 @@
{ ... }:
{
services.gitea = {
enable = true;
stateDir = "/mnt/data/services/gitea";
appName = "My low quality unfinished Projects";
settings = {
server = {
DOMAIN = "git.huwe.mooo.com";
HTTP_PORT = 3000;
};
};
};
}