This repository has no description
678 B
23 lines
1{
2 services.nginx.virtualHosts."hass.lassul.us" = {
3 enableACME = true;
4 addSSL = true;
5 locations."/" = {
6 recommendedProxySettings = true;
7 proxyWebsockets = true;
8 proxyPass = "http://acheron.r:8123";
9 };
10 };
11
12 # Login via id.lassul.us (auth_oidc, configs/hass/oidc.nix), only for users
13 # an admin gave a user grant on the project in the console. A public client
14 # with PKCE; its client id is in the envFile and goes into the hass-oidc var
15 # of acheron.
16 lass.zitadel.projects.hass = {
17 access = "managed";
18 apps.web = {
19 redirectUris = [ "https://hass.lassul.us/auth/oidc/callback" ];
20 authMethod = "none";
21 };
22 };
23}