feat(headscale): just an initial test

This commit is contained in:
2025-10-25 14:03:34 +02:00
parent 1dd06ef3f5
commit ff5490194b
8 changed files with 277 additions and 143 deletions

View File

@@ -6,7 +6,7 @@
}: let
unit = "authentik";
cfg = config.server.infra.${unit};
srv = config.server.infra.www.domain;
srv = config.server.infra;
in {
options.server.infra.${unit} = {
enable = lib.mkEnableOption {
@@ -14,7 +14,7 @@ in {
};
url = lib.mkOption {
type = lib.types.str;
default = "auth.${srv.www.domain}";
default = "auth.${srv.www.url}";
};
port = lib.mkOption {
type = lib.types.port;