Configure global DNS nameservers for the Tailscale tailnet, setting trantor as the primary DNS server with Cloudflare as fallback. This enables custom DNS resolution across the entire tailnet. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
27 lines
622 B
Nix
27 lines
622 B
Nix
{ inputs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
inputs.terranix.flakeModule
|
|
];
|
|
|
|
perSystem =
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
terranix.terranixConfigurations = {
|
|
oci-trantor = {
|
|
modules = [ ./terranix/oci/trantor.nix ];
|
|
terraformWrapper.package = pkgs.opentofu;
|
|
};
|
|
cloudflare-baduhaidev = {
|
|
modules = [ ./terranix/cloudflare/baduhai.dev.nix ];
|
|
terraformWrapper.package = pkgs.opentofu;
|
|
};
|
|
tailscale-tailnet = {
|
|
modules = [ ./terranix/tailscale/tailnet.nix ];
|
|
terraformWrapper.package = pkgs.opentofu;
|
|
};
|
|
};
|
|
};
|
|
}
|