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
|
homepage
|
||||||
actual-server
|
actual-server
|
||||||
memos
|
memos
|
||||||
|
forgejo
|
||||||
|
|
||||||
(
|
(
|
||||||
{ config, lib, ... }:
|
{ config, lib, ... }:
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,12 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
flake.modules.nixos.forgejo =
|
flake.modules.nixos.forgejo =
|
||||||
{ pkgs, config, ... }:
|
{
|
||||||
|
pkgs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
{
|
{
|
||||||
services.forgejo = {
|
services.forgejo = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -11,6 +16,7 @@
|
||||||
DOMAIN = "git.dnsc.io";
|
DOMAIN = "git.dnsc.io";
|
||||||
ROOT_URL = "https://git.dnsc.io/";
|
ROOT_URL = "https://git.dnsc.io/";
|
||||||
HTTP_PORT = 9004;
|
HTTP_PORT = 9004;
|
||||||
|
SSH_PORT = lib.head config.services.openssh.ports;
|
||||||
};
|
};
|
||||||
service.DISABLE_REGISTRATION = false;
|
service.DISABLE_REGISTRATION = false;
|
||||||
mailer = {
|
mailer = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue