update to latest common with dns list

This commit is contained in:
Joshua Bell 2026-02-09 13:20:31 -06:00
parent 94249e7bcb
commit 9d03d2c4e8
3 changed files with 16 additions and 42 deletions

View file

@ -3,11 +3,11 @@
"common": {
"locked": {
"dir": "flakes/common",
"lastModified": 1766036507,
"narHash": "sha256-ZFJjJVkWlefIhsJ2vHniBnqqnTCa9qGW3pQOXUU4X1I=",
"lastModified": 1770664771,
"narHash": "sha256-8X1QU1bmy0hQe2PnpVcg1trna4BO+bpTpC79mWsz1rY=",
"ref": "refs/heads/master",
"rev": "fca1bd9d8f4d7e345b373f69c9d2b40d9fa33f59",
"revCount": 952,
"rev": "94249e7bcbfed6a04baa01972661bd1901a95f68",
"revCount": 1248,
"type": "git",
"url": "https://git.joshuabell.xyz/ringofstorms/dotfiles"
},

View file

@ -1,4 +1,7 @@
{ pkgs, ... }:
let
h001Dns = import ../../../flakes/common/nix_modules/tailnet/h001_dns.nix;
in
{
config = {
# TODO backup /var/lib/headscale data
@ -17,40 +20,11 @@
magic_dns = true;
base_domain = "net.joshuabell.xyz";
override_local_dns = false;
# nameservers.global = [
# "1.1.1.1"
# "1.0.0.1"
# "8.8.8.8"
# "8.8.4.4"
# "9.9.9.9"
# "9.9.9.10"
# ];
extra_records =
let
# DNS splitting at the tailscale network level. We intercept these domains
# when connected to tailscale and skip my global/internet facing DNS proxy
h001ARecord = name: {
type = "A";
name = "${name}.joshuabell.xyz";
value = "100.64.0.13";
};
in
[
(h001ARecord "jellyfin")
(h001ARecord "media")
(h001ARecord "notes")
(h001ARecord "chat")
(h001ARecord "sso-proxy")
(h001ARecord "n8n")
(h001ARecord "sec")
(h001ARecord "sso")
(h001ARecord "gist")
(h001ARecord "git")
(h001ARecord "blog")
(h001ARecord "etebase")
(h001ARecord "photos")
(h001ARecord "location")
];
extra_records = map (name: {
type = "A";
name = "${name}.${h001Dns.baseDomain}";
value = h001Dns.ip;
}) h001Dns.subdomains;
};
};
};

8
hosts/lio/flake.lock generated
View file

@ -64,11 +64,11 @@
"common": {
"locked": {
"dir": "flakes/common",
"lastModified": 1770613864,
"narHash": "sha256-Wn/dJdzToNfAqrZp1oRbXTvcF88UUCYkfOBPLsHpHNY=",
"lastModified": 1770664771,
"narHash": "sha256-8X1QU1bmy0hQe2PnpVcg1trna4BO+bpTpC79mWsz1rY=",
"ref": "refs/heads/master",
"rev": "9e5e3cd4fa9ddae4ede2ba6c83f3c734a33f27b4",
"revCount": 1240,
"rev": "94249e7bcbfed6a04baa01972661bd1901a95f68",
"revCount": 1248,
"type": "git",
"url": "https://git.joshuabell.xyz/ringofstorms/dotfiles"
},