Move tailnet.nix to tailnet/default.nix and add h001_dns module
This commit is contained in:
parent
33e757fedb
commit
94249e7bcb
2 changed files with 35 additions and 0 deletions
27
flakes/common/nix_modules/tailnet/h001_dns.nix
Normal file
27
flakes/common/nix_modules/tailnet/h001_dns.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Shared DNS records for h001 services
|
||||
# Used by headscale for DNS splitting and by other hosts for /etc/hosts fallback
|
||||
{
|
||||
# h001's tailscale IP
|
||||
ip = "100.64.0.13";
|
||||
|
||||
# List of subdomain names that point to h001
|
||||
subdomains = [
|
||||
"jellyfin"
|
||||
"media"
|
||||
"notes"
|
||||
"chat"
|
||||
"sso-proxy"
|
||||
"n8n"
|
||||
"sec"
|
||||
"sso"
|
||||
"gist"
|
||||
"git"
|
||||
"blog"
|
||||
"etebase"
|
||||
"photos"
|
||||
"location"
|
||||
];
|
||||
|
||||
# Base domain
|
||||
baseDomain = "joshuabell.xyz";
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue