mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-15 09:35:12 -05:00
Compare commits
10 commits
a35076c0fe
...
40a550f8d9
Author | SHA1 | Date | |
---|---|---|---|
![]() |
40a550f8d9 | ||
![]() |
ecbcec610f | ||
![]() |
4078c53aca | ||
![]() |
bc614fa8e5 | ||
![]() |
3fad9b2f7a | ||
![]() |
2b368d76e8 | ||
![]() |
ddb9c88c75 | ||
![]() |
8aacacd34a | ||
![]() |
01e12a6d2e | ||
![]() |
0c1d86e494 |
26 changed files with 83 additions and 25 deletions
|
@ -9,6 +9,7 @@ let
|
||||||
sopsPath
|
sopsPath
|
||||||
;
|
;
|
||||||
audiobookshelfSubdomain = "books";
|
audiobookshelfSubdomain = "books";
|
||||||
|
audiobookshelfDomain = "${audiobookshelfSubdomain}.${domain0}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = audiobookshelfLabel;
|
label = audiobookshelfLabel;
|
||||||
|
@ -16,6 +17,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${audiobookshelfName}";
|
path0 = "${sopsPath}/${audiobookshelfName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = audiobookshelfDomain;
|
||||||
|
};
|
||||||
subdomain = audiobookshelfSubdomain;
|
subdomain = audiobookshelfSubdomain;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${audiobookshelfLabel}";
|
path0 = "${servicePath}/${audiobookshelfLabel}";
|
||||||
|
|
|
@ -10,6 +10,7 @@ let
|
||||||
forgejoLabel = "Forgejo";
|
forgejoLabel = "Forgejo";
|
||||||
forgejoName = "forgejo";
|
forgejoName = "forgejo";
|
||||||
forgejoSubdomain = "source";
|
forgejoSubdomain = "source";
|
||||||
|
forgejoDomain = "${forgejoSubdomain}.${domain3}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = forgejoLabel;
|
label = forgejoLabel;
|
||||||
|
@ -20,6 +21,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${forgejoName}";
|
path0 = "${sopsPath}/${forgejoName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = forgejoDomain;
|
||||||
|
};
|
||||||
subdomain = forgejoSubdomain;
|
subdomain = forgejoSubdomain;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${forgejoLabel}";
|
path0 = "${servicePath}/${forgejoLabel}";
|
||||||
|
|
|
@ -10,6 +10,7 @@ let
|
||||||
glanceLabel = "Glance";
|
glanceLabel = "Glance";
|
||||||
glanceName = "glance";
|
glanceName = "glance";
|
||||||
glanceSubdomain = "dashboard";
|
glanceSubdomain = "dashboard";
|
||||||
|
glanceDomain = "${glanceSubdomain}.${domain0}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = glanceLabel;
|
label = glanceLabel;
|
||||||
|
@ -20,6 +21,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${glanceName}";
|
path0 = "${sopsPath}/${glanceName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = glanceDomain;
|
||||||
|
};
|
||||||
subdomain = glanceSubdomain;
|
subdomain = glanceSubdomain;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${glanceLabel}";
|
path0 = "${servicePath}/${glanceLabel}";
|
||||||
|
|
|
@ -8,6 +8,7 @@ let
|
||||||
sslPath
|
sslPath
|
||||||
sopsPath
|
sopsPath
|
||||||
;
|
;
|
||||||
|
jellyfinDomain = "${jellyfinName}.${domain0}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = jellyfinLabel;
|
label = jellyfinLabel;
|
||||||
|
@ -15,6 +16,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${jellyfinName}";
|
path0 = "${sopsPath}/${jellyfinName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = jellyfinDomain;
|
||||||
|
};
|
||||||
subdomain = jellyfinName;
|
subdomain = jellyfinName;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${jellyfinLabel}";
|
path0 = "${servicePath}/${jellyfinLabel}";
|
||||||
|
|
4
modules/config/instances/config/kanboard.nix
Normal file → Executable file
4
modules/config/instances/config/kanboard.nix
Normal file → Executable file
|
@ -10,6 +10,7 @@ let
|
||||||
kanboardLabel = "Kanboard";
|
kanboardLabel = "Kanboard";
|
||||||
kanboardName = "kanboard";
|
kanboardName = "kanboard";
|
||||||
kanboardSubdomain = "todo";
|
kanboardSubdomain = "todo";
|
||||||
|
kanboardDomain = "${kanboardSubdomain}.${domain0}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = kanboardLabel;
|
label = kanboardLabel;
|
||||||
|
@ -20,6 +21,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${kanboardName}";
|
path0 = "${sopsPath}/${kanboardName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = kanboardDomain;
|
||||||
|
};
|
||||||
subdomain = kanboardSubdomain;
|
subdomain = kanboardSubdomain;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${kanboardLabel}";
|
path0 = "${servicePath}/${kanboardLabel}";
|
||||||
|
|
|
@ -10,6 +10,7 @@ let
|
||||||
mastodonLabel = "Mastodon";
|
mastodonLabel = "Mastodon";
|
||||||
mastodonName = "mastodon";
|
mastodonName = "mastodon";
|
||||||
mastodonSubdomain = "social";
|
mastodonSubdomain = "social";
|
||||||
|
mastodonDomain = "${mastodonSubdomain}.${domain3}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = mastodonLabel;
|
label = mastodonLabel;
|
||||||
|
@ -17,6 +18,9 @@ in
|
||||||
email = {
|
email = {
|
||||||
address0 = "noreply@${domain3}";
|
address0 = "noreply@${domain3}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = mastodonDomain;
|
||||||
|
};
|
||||||
subdomain = mastodonSubdomain;
|
subdomain = mastodonSubdomain;
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${mastodonName}";
|
path0 = "${sopsPath}/${mastodonName}";
|
||||||
|
|
|
@ -9,6 +9,7 @@ let
|
||||||
|
|
||||||
nextcloudLabel = "Nextcloud";
|
nextcloudLabel = "Nextcloud";
|
||||||
nextcloudName = "nextcloud";
|
nextcloudName = "nextcloud";
|
||||||
|
nextcloudDomain = "${nextcloudName}.${domain0}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = nextcloudLabel;
|
label = nextcloudLabel;
|
||||||
|
@ -19,6 +20,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${nextcloudName}";
|
path0 = "${sopsPath}/${nextcloudName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = nextcloudDomain;
|
||||||
|
};
|
||||||
subdomain = nextcloudName;
|
subdomain = nextcloudName;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${nextcloudLabel}";
|
path0 = "${servicePath}/${nextcloudLabel}";
|
||||||
|
|
|
@ -9,6 +9,7 @@ let
|
||||||
|
|
||||||
ollamaLabel = "Ollama";
|
ollamaLabel = "Ollama";
|
||||||
ollamaName = "ollama";
|
ollamaName = "ollama";
|
||||||
|
ollamaDomain = "${ollamaName}.${domain0}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = ollamaLabel;
|
label = ollamaLabel;
|
||||||
|
@ -16,6 +17,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${ollamaName}";
|
path0 = "${sopsPath}/${ollamaName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = ollamaDomain;
|
||||||
|
};
|
||||||
subdomain = ollamaName;
|
subdomain = ollamaName;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${ollamaLabel}";
|
path0 = "${servicePath}/${ollamaLabel}";
|
||||||
|
|
|
@ -10,6 +10,7 @@ let
|
||||||
owncastLabel = "Owncast";
|
owncastLabel = "Owncast";
|
||||||
owncastName = "owncast";
|
owncastName = "owncast";
|
||||||
owncastSubdomain = "stream";
|
owncastSubdomain = "stream";
|
||||||
|
owncastDomain = "${owncastSubdomain}.${domain1}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = owncastLabel;
|
label = owncastLabel;
|
||||||
|
@ -17,6 +18,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${owncastName}";
|
path0 = "${sopsPath}/${owncastName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = owncastDomain;
|
||||||
|
};
|
||||||
subdomain = owncastSubdomain;
|
subdomain = owncastSubdomain;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${owncastLabel}";
|
path0 = "${servicePath}/${owncastLabel}";
|
||||||
|
|
|
@ -10,6 +10,7 @@ let
|
||||||
peertubeLabel = "PeerTube";
|
peertubeLabel = "PeerTube";
|
||||||
peertubeName = "peertube";
|
peertubeName = "peertube";
|
||||||
peertubeSubdomain = "video";
|
peertubeSubdomain = "video";
|
||||||
|
peertubeDomain = "${peertubeSubdomain}.${domain3}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = peertubeLabel;
|
label = peertubeLabel;
|
||||||
|
@ -20,6 +21,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${peertubeName}";
|
path0 = "${sopsPath}/${peertubeName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = peertubeDomain;
|
||||||
|
};
|
||||||
subdomain = peertubeSubdomain;
|
subdomain = peertubeSubdomain;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${peertubeLabel}";
|
path0 = "${servicePath}/${peertubeLabel}";
|
||||||
|
|
|
@ -9,6 +9,7 @@ let
|
||||||
|
|
||||||
postfixLabel = "Postfix";
|
postfixLabel = "Postfix";
|
||||||
postfixName = "postfix";
|
postfixName = "postfix";
|
||||||
|
postfixDomain = "${postfixName}.${domain3}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = postfixLabel;
|
label = postfixLabel;
|
||||||
|
@ -16,6 +17,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${postfixName}";
|
path0 = "${sopsPath}/${postfixName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = postfixDomain;
|
||||||
|
};
|
||||||
subdomain = postfixName;
|
subdomain = postfixName;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${postfixLabel}";
|
path0 = "${servicePath}/${postfixLabel}";
|
||||||
|
|
|
@ -10,6 +10,7 @@ let
|
||||||
searxLabel = "SearXNG";
|
searxLabel = "SearXNG";
|
||||||
searxName = "searx";
|
searxName = "searx";
|
||||||
searxSubdomain = "search";
|
searxSubdomain = "search";
|
||||||
|
searxDomain = "${searxSubdomain}.${domain0}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = searxLabel;
|
label = searxLabel;
|
||||||
|
@ -20,6 +21,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${searxName}";
|
path0 = "${sopsPath}/${searxName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = searxDomain;
|
||||||
|
};
|
||||||
subdomain = searxSubdomain;
|
subdomain = searxSubdomain;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${searxLabel}";
|
path0 = "${servicePath}/${searxLabel}";
|
||||||
|
|
|
@ -8,6 +8,7 @@ let
|
||||||
|
|
||||||
syncthingLabel = "Syncthing";
|
syncthingLabel = "Syncthing";
|
||||||
syncthingName = "syncthing";
|
syncthingName = "syncthing";
|
||||||
|
syncthingDomain = "${syncthingName}.${domain0}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = syncthingLabel;
|
label = syncthingLabel;
|
||||||
|
@ -15,6 +16,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${syncthingName}";
|
path0 = "${sopsPath}/${syncthingName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = syncthingDomain;
|
||||||
|
};
|
||||||
subdomain = syncthingName;
|
subdomain = syncthingName;
|
||||||
ports = {
|
ports = {
|
||||||
port0 = 8388; # Syncthing (WebUI)
|
port0 = 8388; # Syncthing (WebUI)
|
||||||
|
|
|
@ -9,6 +9,7 @@ let
|
||||||
|
|
||||||
vaultwardenLabel = "Vaultwarden";
|
vaultwardenLabel = "Vaultwarden";
|
||||||
vaultwardenName = "vaultwarden";
|
vaultwardenName = "vaultwarden";
|
||||||
|
vaultwardenDomain = "${vaultwardenName}.${domain0}";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
label = vaultwardenLabel;
|
label = vaultwardenLabel;
|
||||||
|
@ -19,6 +20,9 @@ in
|
||||||
sops = {
|
sops = {
|
||||||
path0 = "${sopsPath}/${vaultwardenName}";
|
path0 = "${sopsPath}/${vaultwardenName}";
|
||||||
};
|
};
|
||||||
|
domains = {
|
||||||
|
url0 = vaultwardenDomain;
|
||||||
|
};
|
||||||
subdomain = vaultwardenName;
|
subdomain = vaultwardenName;
|
||||||
paths = {
|
paths = {
|
||||||
path0 = "${servicePath}/${vaultwardenLabel}/BackupDir";
|
path0 = "${servicePath}/${vaultwardenLabel}/BackupDir";
|
||||||
|
|
|
@ -46,6 +46,7 @@ in
|
||||||
xserver
|
xserver
|
||||||
espanso
|
espanso
|
||||||
wireGuard
|
wireGuard
|
||||||
|
glance
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -89,7 +90,7 @@ in
|
||||||
vaultwarden
|
vaultwarden
|
||||||
forgejo
|
forgejo
|
||||||
xserver
|
xserver
|
||||||
kanboard
|
# kanboard
|
||||||
;
|
;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -3,7 +3,7 @@ let
|
||||||
inherit (flake.config.services.instances) audiobookshelf web;
|
inherit (flake.config.services.instances) audiobookshelf web;
|
||||||
inherit (flake.config.machines.devices) ceres;
|
inherit (flake.config.machines.devices) ceres;
|
||||||
service = audiobookshelf;
|
service = audiobookshelf;
|
||||||
host = "${service.subdomain}.${web.domains.url0}";
|
host = service.domains.url0;
|
||||||
localhost = web.localhost.address0;
|
localhost = web.localhost.address0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -10,7 +10,7 @@ let
|
||||||
inherit (flake.config.services.instances) smtp forgejo web;
|
inherit (flake.config.services.instances) smtp forgejo web;
|
||||||
service = forgejo;
|
service = forgejo;
|
||||||
localhost = web.localhost.address0;
|
localhost = web.localhost.address0;
|
||||||
host = "${service.subdomain}.${web.domains.url3}";
|
host = service.domains.url0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
|
|
|
@ -5,7 +5,7 @@ let
|
||||||
inherit (flake.config.services.instances) jellyfin web;
|
inherit (flake.config.services.instances) jellyfin web;
|
||||||
service = jellyfin;
|
service = jellyfin;
|
||||||
localhost = web.localhost.address0;
|
localhost = web.localhost.address0;
|
||||||
host = "${service.subdomain}.${web.domains.url0}";
|
host = service.domains.url0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
|
|
29
modules/nixos/services/kanboard/default.nix
Normal file → Executable file
29
modules/nixos/services/kanboard/default.nix
Normal file → Executable file
|
@ -10,24 +10,25 @@ let
|
||||||
inherit (flake.config.services.instances) smtp kanboard web;
|
inherit (flake.config.services.instances) smtp kanboard web;
|
||||||
service = kanboard;
|
service = kanboard;
|
||||||
localhost = web.localhost.address0;
|
localhost = web.localhost.address0;
|
||||||
host = "${service.subdomain}.${web.domains.url0}";
|
host = service.domains.url0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
kanboard = {
|
kanboard = {
|
||||||
enable = true;
|
enable = true;
|
||||||
domain = host;
|
domain = host;
|
||||||
|
nginx = null;
|
||||||
# dataDir = "/var/lib/${service.name}";
|
# dataDir = "/var/lib/${service.name}";
|
||||||
# settings = {
|
# settings = {
|
||||||
# MAIL_FROM = service.email.address0;
|
# MAIL_FROM = service.email.address0;
|
||||||
# # HTTP_PROXY_HOSTNAME = host;
|
# # HTTP_PROXY_HOSTNAME = host;
|
||||||
# HTTP_PROXY_PORT = service.ports.poract0;
|
# HTTP_PROXY_PORT = service.ports.port0;
|
||||||
# MAIL_TRANSPORT = "smtp";
|
# MAIL_TRANSPORT = "smtp";
|
||||||
# MAIL_SMTP_HOSTNAME = smtp.hostname;
|
# MAIL_SMTP_HOSTNAME = smtp.hostname;
|
||||||
# MAIL_SMTP_PORT = smtp.ports.port0;
|
# MAIL_SMTP_PORT = smtp.ports.port0;
|
||||||
# MAIL_SMTP_USERNAME = service.email.address0;
|
# MAIL_SMTP_USERNAME = service.email.address0;
|
||||||
# MAIL_SMTP_PASSWORD = config.sops.secrets."${service.name}-smtp".path;
|
# MAIL_SMTP_PASSWORD = config.sops.secrets."${service.name}-smtp".path;
|
||||||
# MAIL_SMTP_ENCRYPTION = "null";
|
# MAIL_SMTP_ENCRYPTION = "ssl";
|
||||||
# };
|
# };
|
||||||
};
|
};
|
||||||
caddy = {
|
caddy = {
|
||||||
|
@ -63,19 +64,19 @@ in
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/var/lib/${service.name}" = {
|
# fileSystems."/var/lib/${service.name}" = {
|
||||||
device = service.paths.path0;
|
# device = service.paths.path0;
|
||||||
fsType = "none";
|
# fsType = "none";
|
||||||
options = [
|
# options = [
|
||||||
"bind"
|
# "bind"
|
||||||
];
|
# ];
|
||||||
depends = [
|
# depends = [
|
||||||
ceres.storage0.mount
|
# ceres.storage0.mount
|
||||||
];
|
# ];
|
||||||
};
|
# };
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"Z ${service.paths.path0} 755 ${service.name} ${service.name} -"
|
# "Z ${service.paths.path0} 755 ${service.name} ${service.name} -"
|
||||||
"Z ${service.sops.path0} 755 ${service.name} ${service.name} -"
|
"Z ${service.sops.path0} 755 ${service.name} ${service.name} -"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ let
|
||||||
;
|
;
|
||||||
inherit (flake.config.services.instances) smtp mastodon web;
|
inherit (flake.config.services.instances) smtp mastodon web;
|
||||||
service = mastodon;
|
service = mastodon;
|
||||||
host = "${mastodon.subdomain}.${web.domains.url3}";
|
host = service.domains.url0;
|
||||||
localhost = web.localhost.address0;
|
localhost = web.localhost.address0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
|
@ -16,7 +16,7 @@ let
|
||||||
;
|
;
|
||||||
service = nextcloud;
|
service = nextcloud;
|
||||||
localhost = web.localhost.address0;
|
localhost = web.localhost.address0;
|
||||||
host = "${service.subdomain}.${web.domains.url0}";
|
host = service.domains.url0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
|
|
|
@ -17,7 +17,7 @@ let
|
||||||
localhost1 = web.localhost.address0;
|
localhost1 = web.localhost.address0;
|
||||||
localhost2 = web.localhost.address1;
|
localhost2 = web.localhost.address1;
|
||||||
hostname = config.networking.hostName;
|
hostname = config.networking.hostName;
|
||||||
host = "${service.subdomain}.${web.domains.url0}";
|
host = service.domains.url0;
|
||||||
|
|
||||||
localhostLogic = if hostname == mars.name then localhost2 else localhost1;
|
localhostLogic = if hostname == mars.name then localhost2 else localhost1;
|
||||||
caddyLogic =
|
caddyLogic =
|
||||||
|
|
|
@ -6,7 +6,7 @@ let
|
||||||
;
|
;
|
||||||
service = owncast;
|
service = owncast;
|
||||||
localhost = web.localhost.address1;
|
localhost = web.localhost.address1;
|
||||||
host = "${service.subdomain}.${web.domains.url1}";
|
host = service.domains.url0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
|
|
|
@ -16,7 +16,7 @@ let
|
||||||
;
|
;
|
||||||
service = peertube;
|
service = peertube;
|
||||||
localhost = web.localhost.address0;
|
localhost = web.localhost.address0;
|
||||||
host = "${service.subdomain}.${web.domains.url3}";
|
host = service.domains.url0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
|
|
|
@ -10,7 +10,7 @@ let
|
||||||
service = searx;
|
service = searx;
|
||||||
hostname = config.networking.hostName;
|
hostname = config.networking.hostName;
|
||||||
localhost = web.localhost.address0;
|
localhost = web.localhost.address0;
|
||||||
host = "${service.subdomain}.${web.domains.url0}";
|
host = service.domains.url0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services =
|
services =
|
||||||
|
|
|
@ -7,7 +7,7 @@ let
|
||||||
inherit (flake.config.services.instances) smtp vaultwarden web;
|
inherit (flake.config.services.instances) smtp vaultwarden web;
|
||||||
service = vaultwarden;
|
service = vaultwarden;
|
||||||
localhost = web.localhost.address0;
|
localhost = web.localhost.address0;
|
||||||
host = "${service.subdomain}.${web.domains.url0}";
|
host = service.domains.url0;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
services = {
|
services = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue