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/emptyCerts.nix
pijukka 516f0f212f Parameterize domains and implement local override system
- Replace hardcoded domain references with ${config.domain} variables
- Add variables-local.nix for personal domain overrides (git-ignored)
- Update variables.nix with example.com defaults for shareability
- Fix module function signatures to properly access config parameter
- Add smart import system for optional local overrides in globalServices
- Update home-manager shared modules to include domain variables
- Create CLAUDE.md documentation for the configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-01 21:45:28 +02:00

16 lines
373 B
Nix

{ config, ... }: {
services.traefik.dynamicConfigOptions = {
http = {
routers.muc = {
rule = "Host(`${config.domain}`,`*.${config.domain}`)";
entryPoints = [ "websecure" ];
service = "noop";
tls = {
certResolver = "cloudflare";
};
};
services.noop.loadBalancer.servers = [{ url = "http://127.0.0.1:8005" ; }];
};
};
}