Add forgejo

This commit is contained in:
muon 2025-01-25 14:27:23 +00:00
parent 194c838432
commit be802886d6
4 changed files with 25 additions and 11 deletions

View file

@ -12,5 +12,17 @@ in with lib; {
};
};
config = mkIf cfg.enable { services.forgejo = { enable = true; }; };
config = mkIf cfg.enable {
services.forgejo = {
enable = true;
stateDir = "/srv/forgejo";
lfs.enable = true;
settings.server = {
HTTP_ADDR = "0.0.0.0";
HTTP_PORT = port;
SSH_PORT = 91722;
DOMAIN = "git.muon.host";
};
};
};
}