mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-09 07:00:21 +02:00
huge refactoring
This commit is contained in:
parent
5b0a327f50
commit
5cc4714fbb
13 changed files with 74 additions and 71 deletions
|
@ -1,7 +1,7 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
imports = [
|
||||
./akkoma.nix
|
||||
# ./akkoma.nix
|
||||
./homelab-dashboard.nix
|
||||
./nextcloud.nix
|
||||
# ./photoprism.nix
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -8,4 +8,8 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
services.caddy.virtualHosts."http://grafana.sisyphe.normandy.hypervirtual.world".extraConfig = ''
|
||||
reverse_proxy :3000
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
'';
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue