mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 01:55:13 -05:00
refactor: changed url path convention
This commit is contained in:
parent
a35076c0fe
commit
0c1d86e494
25 changed files with 67 additions and 11 deletions
|
@ -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
|
||||
{
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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 = {
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -16,7 +16,7 @@ let
|
|||
;
|
||||
service = nextcloud;
|
||||
localhost = web.localhost.address0;
|
||||
host = "${service.subdomain}.${web.domains.url0}";
|
||||
host = service.domains.url0;
|
||||
in
|
||||
{
|
||||
services = {
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -6,7 +6,7 @@ let
|
|||
;
|
||||
service = owncast;
|
||||
localhost = web.localhost.address1;
|
||||
host = "${service.subdomain}.${web.domains.url1}";
|
||||
host = service.domains.url0;
|
||||
in
|
||||
{
|
||||
services = {
|
||||
|
|
|
@ -16,7 +16,7 @@ let
|
|||
;
|
||||
service = peertube;
|
||||
localhost = web.localhost.address0;
|
||||
host = "${service.subdomain}.${web.domains.url3}";
|
||||
host = service.domains.url0;
|
||||
in
|
||||
{
|
||||
services = {
|
||||
|
|
|
@ -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 =
|
||||
|
|
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue