This repository has been archived on 2026-09-17. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
nixos-config/hosts/blunix/localServices/traefik/dex.nix
pijukka 201aea3e87 docs: write pinix/blunix/user READMEs, reorganize blunix's traefik-*.nix
Three stub READMEs from the review notes now have real content: a
per-file service table for pinix and blunix localServices, and a
users overview (drone vs builder, and why the docker group is dead
weight on both -- docker.nix is commented out globally).

blunix's seven traefik-*.nix files (routes, per-service dynamic
config) moved into a traefik/ subfolder per the review's org
suggestion -- pure rename, no relative-path references between them,
confirmed by a bit-identical rebuild (same output store path before
and after). No deploy needed for this part.

Also: added the tailscaled-autoconnect boot-race fix from 5df6166 to
calendar/README.md (was undocumented there) and removed the two
now-answered "why does this file exist" / "needs updating" review
notes from WEBDAV-SMB.md and calendar/README.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-31 12:05:17 +02:00

37 lines
627 B
Nix

{config, ...}:
{
services.traefik.dynamicConfigOptions = {
http = {
# middlewares = {
# myStripprefix = {
# stripPrefix = {
# prefixes = "/lukas";
# };
# };
# };
routers = {
dex = {
rule = "Host(`dex.${config.domain}`)";
tls = {
certResolver = "cloudflare";
};
service = "dex";
entryPoints = [ "websecure" ];
};
};
services = {
dex = {
loadBalancer = {
servers = [
{ url = "http://127.0.0.1:5556"; }
];
};
};
};
};
};
}