mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2026-04-14 13:19:09 +02:00
feat: overhaul overlays
This commit is contained in:
parent
91f4393800
commit
130444f5d7
23 changed files with 406 additions and 246 deletions
|
|
@ -165,14 +165,14 @@ in
|
|||
services = {
|
||||
${serviceName} = {
|
||||
enable = true;
|
||||
package = pkgs.dev.oauth2-proxy;
|
||||
package = pkgs.update.oauth2-proxy;
|
||||
cookie = {
|
||||
domain = ".${mainDomain}";
|
||||
secure = true;
|
||||
expire = "900m";
|
||||
secret = null; # set by service EnvironmentFile
|
||||
secretFile = null;
|
||||
};
|
||||
clientSecret = null; # set by service EnvironmentFile
|
||||
clientSecretFile = null;
|
||||
reverseProxy = true;
|
||||
httpAddress = "0.0.0.0:${builtins.toString servicePort}";
|
||||
redirectURL = "https://${serviceDomain}/oauth2/callback";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue