huge refactoring

This commit is contained in:
kity 2024-10-30 17:44:54 +01:00
parent 5b0a327f50
commit 5cc4714fbb
13 changed files with 74 additions and 71 deletions

View file

@ -1,7 +1,7 @@
{ config, ... }:
{
imports = [
./akkoma.nix
# ./akkoma.nix
./homelab-dashboard.nix
./nextcloud.nix
# ./photoprism.nix

View file

@ -40,4 +40,8 @@
create="${lib.getExe config.services.forgejo.package} admin user create"
$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 = ''
reverse_proxy :3333
'';
}

View file

@ -8,4 +8,8 @@
};
};
};
services.caddy.virtualHosts."http://grafana.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :3000
'';
}

View file

@ -38,6 +38,10 @@ in
format = "dotenv";
};
services.caddy.virtualHosts."http://sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :8082
'';
services.homepage-dashboard = {
enable = true;
environmentFile = config.sops.secrets."homepage".path;

View file

@ -7,4 +7,14 @@
PORT = "4000";
};
};
services.caddy.virtualHosts."http://status.hypervirtual.world".extraConfig = ''
reverse_proxy :4000
'';
services.caddy.virtualHosts."http://uptime.sisyphe.normandy.hypervirtual.world".extraConfig = ''
reverse_proxy :4000
'';
}