remove headscale oidc
This commit is contained in:
@@ -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}"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user