fix: all persistent clients now follow global dns rules

This commit is contained in:
Nydragon 2024-12-04 17:35:42 +01:00
parent 386f4d064e
commit 870a4e1c5f
Signed by: nydragon
SSH key fingerprint: SHA256:WcjW5NJPQ8Dx4uQDmoIlVPLWE27Od3fxoe0IUvuoPHE
3 changed files with 3 additions and 5 deletions

View file

@ -107,7 +107,7 @@
enable = true;
settings = {
default_session = {
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time";
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --remember --remember-user-session --time";
user = "greeter";
};
};

View file

@ -5,12 +5,10 @@
magic_dns = true;
base_domain = "ts";
# 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.global = [
"100.64.0.4"
];
extra_records =
let
mkRecords = map (sub: {

View file

@ -32,7 +32,7 @@ in
filtering_enabled = true;
};
clients = {
persistent = [
persistent = map (val: val // { use_global_settings = true; }) [
{
ids = [
"100.64.0.1"