mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-05-20 21:32:33 +02:00
302f0ceec9
Signed-off-by: Hadi <112569860+anotherhadi@users.noreply.github.com>
9 lines
260 B
Nix
9 lines
260 B
Nix
{config, ...}: {
|
|
services.default-creds = {
|
|
enable = true;
|
|
port = 8087;
|
|
};
|
|
|
|
services.cloudflared.tunnels."${config.var.tunnelId}".ingress."default-creds.${config.var.domain}" = "http://localhost:${toString config.services.default-creds.port}";
|
|
}
|