diff --git a/hosts/APPA/services/gitea.nix b/hosts/APPA/services/gitea.nix index d3bb603..d7edc7e 100644 --- a/hosts/APPA/services/gitea.nix +++ b/hosts/APPA/services/gitea.nix @@ -7,17 +7,19 @@ group = config.services.gitea.group; }; - services.gitea = rec { + services.gitea = { enable = true; appName = "dryb.org: Gitea Service"; database = { type = "postgres"; passwordFile = config.age.secrets.passwords-gitea-db.path; }; - domain = "git.dryb.org"; - rootUrl = "http://${domain}/"; - httpPort = 8003; settings = { + server = rec { + HTTP_PORT = 8003; + DOMAIN = "git.dryb.org"; + ROOT_URL = "http://${DOMAIN}/"; + }; service = { DISABLE_REGISTRATION = true; }; diff --git a/hosts/APPA/services/homepage-dashboard.nix b/hosts/APPA/services/homepage-dashboard.nix index e74b985..75aaeda 100644 --- a/hosts/APPA/services/homepage-dashboard.nix +++ b/hosts/APPA/services/homepage-dashboard.nix @@ -44,19 +44,19 @@ { "IOT" = [ { - "Shelly Infra" = { - description = "http://shelly-infra.dryb.org (192.168.2.50)"; - href = "http://shelly-infra.dryb.org"; + "Shelly Server" = { + description = "http://shelly-server.dryb.org (192.168.2.50)"; + href = "http://shelly-server.dryb.org"; icon = "shelly"; - ping = "shelly-infra.dryb.org"; + ping = "shelly-server.dryb.org"; }; } { - "Shelly Workstation" = { - description = "http://shelly-workstation.dryb.org (192.168.2.51)"; - href = "http://shelly-workstation.dryb.org"; + "Shelly Infra" = { + description = "http://shelly-infra.dryb.org (192.168.2.51)"; + href = "http://shelly-infra.dryb.org"; icon = "shelly"; - ping = "shelly-workstation.dryb.org"; + ping = "shelly-infra.dryb.org"; }; } {