includes forgejo in vps
This commit is contained in:
parent
1e9cacb761
commit
3397c8541c
2 changed files with 8 additions and 1 deletions
|
|
@ -22,6 +22,7 @@ in
|
|||
homepage
|
||||
actual-server
|
||||
memos
|
||||
forgejo
|
||||
|
||||
(
|
||||
{ config, lib, ... }:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,12 @@
|
|||
{ ... }:
|
||||
{
|
||||
flake.modules.nixos.forgejo =
|
||||
{ pkgs, config, ... }:
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
|
|
@ -11,6 +16,7 @@
|
|||
DOMAIN = "git.dnsc.io";
|
||||
ROOT_URL = "https://git.dnsc.io/";
|
||||
HTTP_PORT = 9004;
|
||||
SSH_PORT = lib.head config.services.openssh.ports;
|
||||
};
|
||||
service.DISABLE_REGISTRATION = false;
|
||||
mailer = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue