Compare commits
2 commits
c85db7a11d
...
2c4a7921ac
Author | SHA1 | Date | |
---|---|---|---|
2c4a7921ac | |||
21bd9f658d |
2 changed files with 11 additions and 0 deletions
|
@ -12,6 +12,8 @@
|
|||
./home.nix
|
||||
];
|
||||
|
||||
time.timeZone = "Europe/Paris";
|
||||
|
||||
modules = {
|
||||
media.enableAll = true;
|
||||
|
||||
|
|
|
@ -52,6 +52,10 @@ mkIf config.services.headscale.enable {
|
|||
dns_config = {
|
||||
override_local_dns = true;
|
||||
magic_dns = true;
|
||||
|
||||
# FIX: shan being down takes down entire tailnet
|
||||
# 1 -> move dns to dedicated device
|
||||
# 2 -> find out if fallback dns's are supported by headscale
|
||||
nameservers = [
|
||||
"100.64.0.4"
|
||||
];
|
||||
|
@ -69,6 +73,11 @@ mkIf config.services.headscale.enable {
|
|||
type = "A";
|
||||
value = "100.64.0.4";
|
||||
}
|
||||
{
|
||||
name = "git.ccnlc.eu";
|
||||
type = "A";
|
||||
value = "100.64.0.3";
|
||||
}
|
||||
]
|
||||
# Tailscale doesn't seem to support wildcard A/AAAA records
|
||||
# - https://github.com/juanfont/headscale/issues/2159#issuecomment-2393406444
|
||||
|
|
Loading…
Add table
Reference in a new issue