feat(network): adding options for dns and search

This commit is contained in:
2025-10-05 15:40:52 +02:00
parent 9d20eff7f9
commit 93f227ba7e
10 changed files with 81 additions and 19 deletions

View File

@@ -18,7 +18,7 @@ in {
};
url = lib.mkOption {
type = lib.types.str;
default = "jellyfin.${srv.domain}";
default = "sobotka.taila7448a.ts.net";
};
homepage.name = lib.mkOption {
type = lib.types.str;
@@ -53,9 +53,9 @@ in {
routers = {
jellyfinRouter = {
entryPoints = ["websecure"];
rule = "Host(`fin.${srv.www.url}`)";
rule = "Host(`${cfg.url}`)";
service = "${unit}";
tls.certResolver = "tailscale";
tls.certResolver = "vpn";
};
};
};