feat: update gitea config, update shelly domains

This commit is contained in:
Jacob Bachmann 2024-09-12 14:10:16 +02:00
parent 9400db3cb6
commit 3bfb73efe9
Signed by: bchmnn
GPG key ID: 732A612DAD28067D
2 changed files with 14 additions and 12 deletions

View file

@ -7,17 +7,19 @@
group = config.services.gitea.group; group = config.services.gitea.group;
}; };
services.gitea = rec { services.gitea = {
enable = true; enable = true;
appName = "dryb.org: Gitea Service"; appName = "dryb.org: Gitea Service";
database = { database = {
type = "postgres"; type = "postgres";
passwordFile = config.age.secrets.passwords-gitea-db.path; passwordFile = config.age.secrets.passwords-gitea-db.path;
}; };
domain = "git.dryb.org";
rootUrl = "http://${domain}/";
httpPort = 8003;
settings = { settings = {
server = rec {
HTTP_PORT = 8003;
DOMAIN = "git.dryb.org";
ROOT_URL = "http://${DOMAIN}/";
};
service = { service = {
DISABLE_REGISTRATION = true; DISABLE_REGISTRATION = true;
}; };

View file

@ -44,19 +44,19 @@
{ {
"IOT" = [ "IOT" = [
{ {
"Shelly Infra" = { "Shelly Server" = {
description = "http://shelly-infra.dryb.org (192.168.2.50)"; description = "http://shelly-server.dryb.org (192.168.2.50)";
href = "http://shelly-infra.dryb.org"; href = "http://shelly-server.dryb.org";
icon = "shelly"; icon = "shelly";
ping = "shelly-infra.dryb.org"; ping = "shelly-server.dryb.org";
}; };
} }
{ {
"Shelly Workstation" = { "Shelly Infra" = {
description = "http://shelly-workstation.dryb.org (192.168.2.51)"; description = "http://shelly-infra.dryb.org (192.168.2.51)";
href = "http://shelly-workstation.dryb.org"; href = "http://shelly-infra.dryb.org";
icon = "shelly"; icon = "shelly";
ping = "shelly-workstation.dryb.org"; ping = "shelly-infra.dryb.org";
}; };
} }
{ {