refactor: changed url path convention

This commit is contained in:
Nick 2025-06-10 15:54:00 -05:00
parent a35076c0fe
commit 0c1d86e494
25 changed files with 67 additions and 11 deletions

View file

@ -3,7 +3,7 @@ let
inherit (flake.config.services.instances) audiobookshelf web;
inherit (flake.config.machines.devices) ceres;
service = audiobookshelf;
host = "${service.subdomain}.${web.domains.url0}";
host = service.domains.url0;
localhost = web.localhost.address0;
in
{

View file

@ -10,7 +10,7 @@ let
inherit (flake.config.services.instances) smtp forgejo web;
service = forgejo;
localhost = web.localhost.address0;
host = "${service.subdomain}.${web.domains.url3}";
host = service.domains.url0;
in
{
services = {

View file

@ -5,7 +5,7 @@ let
inherit (flake.config.services.instances) jellyfin web;
service = jellyfin;
localhost = web.localhost.address0;
host = "${service.subdomain}.${web.domains.url0}";
host = service.domains.url0;
in
{
services = {

View file

@ -10,7 +10,7 @@ let
inherit (flake.config.services.instances) smtp kanboard web;
service = kanboard;
localhost = web.localhost.address0;
host = "${service.subdomain}.${web.domains.url0}";
host = service.domains.url0;
in
{
services = {

View file

@ -11,7 +11,7 @@ let
;
inherit (flake.config.services.instances) smtp mastodon web;
service = mastodon;
host = "${mastodon.subdomain}.${web.domains.url3}";
host = service.domains.url0;
localhost = web.localhost.address0;
in
{

View file

@ -16,7 +16,7 @@ let
;
service = nextcloud;
localhost = web.localhost.address0;
host = "${service.subdomain}.${web.domains.url0}";
host = service.domains.url0;
in
{
services = {

View file

@ -17,7 +17,7 @@ let
localhost1 = web.localhost.address0;
localhost2 = web.localhost.address1;
hostname = config.networking.hostName;
host = "${service.subdomain}.${web.domains.url0}";
host = service.domains.url0;
localhostLogic = if hostname == mars.name then localhost2 else localhost1;
caddyLogic =

View file

@ -6,7 +6,7 @@ let
;
service = owncast;
localhost = web.localhost.address1;
host = "${service.subdomain}.${web.domains.url1}";
host = service.domains.url0;
in
{
services = {

View file

@ -16,7 +16,7 @@ let
;
service = peertube;
localhost = web.localhost.address0;
host = "${service.subdomain}.${web.domains.url3}";
host = service.domains.url0;
in
{
services = {

View file

@ -10,7 +10,7 @@ let
service = searx;
hostname = config.networking.hostName;
localhost = web.localhost.address0;
host = "${service.subdomain}.${web.domains.url0}";
host = service.domains.url0;
in
{
services =

View file

@ -7,7 +7,7 @@ let
inherit (flake.config.services.instances) smtp vaultwarden web;
service = vaultwarden;
localhost = web.localhost.address0;
host = "${service.subdomain}.${web.domains.url0}";
host = service.domains.url0;
in
{
services = {