remove headscale oidc

This commit is contained in:
2025-01-16 22:08:27 +02:00
parent 2e622769d8
commit 6f34e0a4e4
3 changed files with 0 additions and 24 deletions

View File

@@ -7,7 +7,6 @@
{
options.mj.services.headscale = with lib.types; {
enable = lib.mkEnableOption "Enable headscale";
clientOidcPath = lib.mkOption { type = str; };
subnetCIDR = lib.mkOption { type = str; };
};
@@ -38,11 +37,6 @@
# https://github.com/juanfont/headscale/issues/2210
base_domain = "jakst.vpn";
};
oidc = {
issuer = "https://git.jakstys.lt/";
client_id = "e25c15ea-41ca-4bf0-9ebf-2be9f2d1ccea";
client_secret_path = "\${CREDENTIALS_DIRECTORY}/oidc-client-secret";
};
};
};
@@ -56,9 +50,6 @@
# is higher.
unitConfig.StartLimitBurst = 50;
serviceConfig.RestartSec = 1;
serviceConfig.LoadCredential = [
"oidc-client-secret:${config.mj.services.headscale.clientOidcPath}"
];
};
};
}