mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 23:20:18 +02:00
Refactor Nix configurations to update URLs from hypervirtual.world to rougebordeaux.xyz
- Updated flake.nix to change Alejandra and other inputs to follow the new repository structure. - Modified uptime-kuma configurations to reflect the new domain for Caddy reverse proxy settings. - Adjusted various multimedia services in Sisyphe to use the new domain for Caddy virtual hosts. - Disabled the Sabnzbd service in Sisyphe and updated its Caddy configuration. - Corrected multiple service configurations in Sisyphe to point to the new domain, including Grafana, Nextcloud, and Synapse Matrix. - Ensured all references to hypervirtual.world are replaced with rougebordeaux.xyz across all relevant files.
This commit is contained in:
parent
85e2ce21e3
commit
8a522c525c
20 changed files with 136 additions and 537 deletions
|
@ -5,7 +5,7 @@
|
|||
nodejs_23
|
||||
];
|
||||
|
||||
services.caddy.virtualHosts."archive.hypervirtual.world".extraConfig = ''
|
||||
services.caddy.virtualHosts."archive.rougebordeaux.xyz".extraConfig = ''
|
||||
reverse_proxy 15632
|
||||
'';
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@
|
|||
};
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = "git.hypervirtual.world";
|
||||
ROOT_URL = "https://git.hypervirtual.world";
|
||||
DOMAIN = "git.rougebordeaux.xyz";
|
||||
ROOT_URL = "https://git.rougebordeaux.xyz";
|
||||
HTTP_PORT = 3333;
|
||||
};
|
||||
actions = {
|
||||
|
@ -66,7 +66,7 @@
|
|||
instances.default = {
|
||||
enable = true;
|
||||
name = "monolith";
|
||||
url = "https://git.hypervirtual.world";
|
||||
url = "https://git.rougebordeaux.xyz";
|
||||
# Obtaining the path to the runner token file may differ
|
||||
# tokenFile should be in format TOKEN=<secret>, since it's EnvironmentFile for systemd
|
||||
tokenFile = config.sops.secrets.forgejo-runner-token.path;
|
||||
|
@ -84,7 +84,7 @@
|
|||
$create --admin --email "`cat ${config.sops.secrets.forgejoInitialMail.path}`" --username you --password "`cat ${config.sops.secrets.forgejoInitialPassword.path}`" &>/dev/null || true
|
||||
'';
|
||||
|
||||
services.caddy.virtualHosts."http://git.hypervirtual.world".extraConfig = ''
|
||||
services.caddy.virtualHosts."http://git.rougebordeaux.xyz".extraConfig = ''
|
||||
reverse_proxy :3333
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."http://grafana.sisyphe.normandy.hypervirtual.world".extraConfig = ''
|
||||
services.caddy.virtualHosts."http://grafana.sisyphe.normandy.rougebordeaux.xyz".extraConfig = ''
|
||||
reverse_proxy :3000
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -38,11 +38,11 @@ in
|
|||
format = "dotenv";
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."http://sisyphe.normandy.hypervirtual.world".extraConfig = ''
|
||||
services.caddy.virtualHosts."http://sisyphe.normandy.rougebordeaux.xyz".extraConfig = ''
|
||||
reverse_proxy :8082
|
||||
'';
|
||||
|
||||
services.caddy.virtualHosts."http://home.hypervirtual.world".extraConfig = ''
|
||||
services.caddy.virtualHosts."http://home.rougebordeaux.xyz.extraConfig = ''
|
||||
reverse_proxy :8082
|
||||
'';
|
||||
|
||||
|
@ -97,7 +97,7 @@ in
|
|||
}
|
||||
{
|
||||
"mastodon" = [
|
||||
{ href = "https://fish.hypervirtual.world"; }
|
||||
{ href = "https://fish.rougebordeaux.xyz; }
|
||||
];
|
||||
}
|
||||
{
|
||||
|
@ -147,14 +147,14 @@ in
|
|||
"Calibre-web" = {
|
||||
icon = "calibre";
|
||||
description = "Serveur de livres";
|
||||
href = "http://books.hypervirtual.world";
|
||||
href = "http://books.rougebordeaux.xyz;
|
||||
};
|
||||
}
|
||||
{
|
||||
"Freshrss" = {
|
||||
icon = "freshrss";
|
||||
description = "Récupère les articles";
|
||||
href = "http://freshrss.hypervirtual.world";
|
||||
href = "http://freshrss.rougebordeaux.xyz;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
@ -166,7 +166,7 @@ in
|
|||
"Jellyfin" = {
|
||||
icon = "jellyfin";
|
||||
description = "Permet de regarder ou écouter du contenu.";
|
||||
href = "http://media.hypervirtual.world";
|
||||
href = "http://media.rougebordeaux.xyz;
|
||||
widget = {
|
||||
type = "jellyfin";
|
||||
url = "http://${ip}:8096";
|
||||
|
@ -179,7 +179,7 @@ in
|
|||
"Jellyseerr" = {
|
||||
icon = "jellyseerr";
|
||||
description = "Moteur de recherche de films/séries";
|
||||
href = "http://katflix.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://katflix.sisyphe.normandy.rougebordeaux.xyz;
|
||||
|
||||
widget = {
|
||||
type = "jellyseerr";
|
||||
|
@ -192,14 +192,14 @@ in
|
|||
"slskd" = {
|
||||
icon = "slskd";
|
||||
description = "Pour télécharger/partager de la musique";
|
||||
href = "http://slskd.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://slskd.sisyphe.normandy.rougebordeaux.xyz;
|
||||
};
|
||||
}
|
||||
{
|
||||
"Prowlarr" = {
|
||||
icon = "prowlarr";
|
||||
description = "Indexe les différents sites de téléchargement";
|
||||
href = "http://prowlarr.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://prowlarr.sisyphe.normandy.rougebordeaux.xyz;
|
||||
widget = {
|
||||
type = "prowlarr";
|
||||
key = "{{HOMEPAGE_VAR_PROWLARR}}";
|
||||
|
@ -211,7 +211,7 @@ in
|
|||
"Sonarr" = {
|
||||
icon = "sonarr";
|
||||
description = "Moteur de recherche pour les séries";
|
||||
href = "http://sonarr.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://sonarr.sisyphe.normandy.rougebordeaux.xyz;
|
||||
widget = {
|
||||
type = "sonarr";
|
||||
url = "http://${ip}:8989";
|
||||
|
@ -223,7 +223,7 @@ in
|
|||
"Sonarr anime" = {
|
||||
icon = "sonarr";
|
||||
description = "Moteur de recherche pour les séries animées";
|
||||
href = "http://sonarr-anime.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://sonarr-anime.sisyphe.normandy.rougebordeaux.xyz;
|
||||
widget = {
|
||||
type = "sonarr";
|
||||
url = "http://${ip}:8999";
|
||||
|
@ -235,7 +235,7 @@ in
|
|||
"Radarr" = {
|
||||
icon = "radarr";
|
||||
description = "Moteur de recherche pour les films";
|
||||
href = "http://radarr.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://radarr.sisyphe.normandy.rougebordeaux.xyz;
|
||||
widget = {
|
||||
type = "radarr";
|
||||
key = "{{HOMEPAGE_VAR_RADARR}}";
|
||||
|
@ -247,7 +247,7 @@ in
|
|||
"Bazarr" = {
|
||||
icon = "bazarr";
|
||||
description = "Vérifie les sous titres des films/séries.";
|
||||
href = "http://bazarr.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://bazarr.sisyphe.normandy.rougebordeaux.xyz;
|
||||
widget = {
|
||||
type = "bazarr";
|
||||
key = "{{HOMEPAGE_VAR_BAZARR}}";
|
||||
|
@ -259,7 +259,7 @@ in
|
|||
"Bazarr anime" = {
|
||||
icon = "bazarr";
|
||||
description = "Vérifie les sous titres des séries animées.";
|
||||
href = "http://bazarr-anime.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://bazarr-anime.sisyphe.normandy.rougebordeaux.xyz;
|
||||
widget = {
|
||||
type = "bazarr";
|
||||
key = "{{HOMEPAGE_VAR_BAZARRANIME}}";
|
||||
|
@ -272,7 +272,7 @@ in
|
|||
"Transmission" = {
|
||||
icon = "transmission";
|
||||
description = "s'occupe du téléchargement des fichiers";
|
||||
href = "http://transmission.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://transmission.sisyphe.normandy.rougebordeaux.xyz;
|
||||
widget = {
|
||||
type = "transmission";
|
||||
url = "http://${ip}:9091";
|
||||
|
@ -285,7 +285,7 @@ in
|
|||
"Sabnzbd" = {
|
||||
icon = "sabnzbd";
|
||||
description = "s'occupe de naviguer sur les réseaux usenet";
|
||||
href = "http://nzb.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://nzb.sisyphe.normandy.rougebordeaux.xyz;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
@ -296,14 +296,14 @@ in
|
|||
"Nextcloud" = {
|
||||
icon = "nextcloud";
|
||||
description = "Sauvegarde de données";
|
||||
href = "https://cloud.hypervirtual.world";
|
||||
href = "https://cloud.rougebordeaux.xyz;
|
||||
};
|
||||
}
|
||||
{
|
||||
"4get" = {
|
||||
icon = "searx";
|
||||
description = "Moteur de recherche privé pour remplacer Google.";
|
||||
href = "https://4get.hypervirtual.world";
|
||||
href = "https://4get.rougebordeaux.xyz;
|
||||
};
|
||||
}
|
||||
];
|
||||
|
@ -340,7 +340,7 @@ in
|
|||
"Grafana" = {
|
||||
icon = "grafana";
|
||||
description = "Visualiseur de graphiques";
|
||||
href = "http://grafana.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://grafana.sisyphe.normandy.rougebordeaux.xyz;
|
||||
};
|
||||
}
|
||||
{
|
||||
|
@ -354,7 +354,7 @@ in
|
|||
"Uptime Kuma" = {
|
||||
icon = "uptime-kuma";
|
||||
description = "Surveille l'état des différents services";
|
||||
href = "http://uptime.sisyphe.normandy.hypervirtual.world";
|
||||
href = "http://uptime.sisyphe.normandy.rougebordeaux.xyz;
|
||||
};
|
||||
}
|
||||
{
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
|
||||
services.ircdHybrid = {
|
||||
enable = true;
|
||||
serverName = "irc.hypervirtual.world";
|
||||
serverName = "irc.rougebordeaux.xyz";
|
||||
description = "welcome to the silly kittens hut !! meow:3";
|
||||
adminEmail = "admin@hypervirtual.world";
|
||||
adminEmail = "admin@rougebordeaux.xyz;
|
||||
};
|
||||
|
||||
/**environment.etc = {
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
services.nextcloud = {
|
||||
enable = true;
|
||||
hostName = "cloud.hypervirtual.world";
|
||||
hostName = "cloud.rougebordeaux.xyz";
|
||||
database.createLocally = true;
|
||||
webserver = "caddy";
|
||||
configureRedis = true;
|
||||
|
@ -46,7 +46,7 @@
|
|||
"OC\\Preview\\HEIC"
|
||||
];
|
||||
|
||||
trustedDomains = [ "cloud.hypervirtual.world" ];
|
||||
trustedDomains = [ "cloud.rougebordeaux.xyz ];
|
||||
overwriteprotocol = "https";
|
||||
log_type = "file"; # temporary fix for https://nixos.org/manual/nixos/stable/#module-services-nextcloud-warning-logreader
|
||||
default_phone_region = "FR";
|
||||
|
|
|
@ -5,10 +5,10 @@
|
|||
...
|
||||
}:
|
||||
let
|
||||
baseUrl = "https://talk.hypervirtual.world";
|
||||
baseUrl = "https://talk.rougebordeaux.xyz";
|
||||
in
|
||||
{
|
||||
networking.domain = "hypervirtual.world";
|
||||
networking.domain = "rougebordeaux.xyz";
|
||||
sops.secrets.matrix_data = {
|
||||
format = "yaml";
|
||||
owner = "matrix-synapse";
|
||||
|
@ -18,7 +18,7 @@ in
|
|||
enable = true;
|
||||
|
||||
settings = {
|
||||
server_name = "hypervirtual.world";
|
||||
server_name = "rougebordeaux.xyz";
|
||||
public_baseurl = baseUrl;
|
||||
enable_registration = false;
|
||||
enable_metrics = true;
|
||||
|
@ -73,7 +73,7 @@ in
|
|||
settings = {
|
||||
homeserver = {
|
||||
address = "http://localhost:8008";
|
||||
domain = "hypervirtual.world";
|
||||
domain = "rougebordeaux.xyz";
|
||||
};
|
||||
appservice = {
|
||||
provisioning.enabled = false;
|
||||
|
|
|
@ -8,11 +8,11 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."http://status.hypervirtual.world".extraConfig = ''
|
||||
services.caddy.virtualHosts."http://status.rougebordeaux.xyz".extraConfig = ''
|
||||
reverse_proxy :4000
|
||||
'';
|
||||
|
||||
services.caddy.virtualHosts."http://uptime.sisyphe.normandy.hypervirtual.world".extraConfig = ''
|
||||
services.caddy.virtualHosts."http://uptime.sisyphe.normandy.rougebordeaux.xyz.extraConfig = ''
|
||||
reverse_proxy :4000
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue