Compare commits

2 Commits

Author SHA1 Message Date
mjallen18
f369128cb7 auth 2026-03-06 10:02:19 -06:00
mjallen18
6210605ac2 net 2026-03-06 09:26:24 -06:00
2 changed files with 8 additions and 5 deletions

View File

@@ -38,10 +38,13 @@ in
templates = {
"auth.yaml" = {
content = ''
auth_oidc:
client_id: "${config.sops.placeholder."home-assistant/auth-client-id"}"
client_secret: "${config.sops.placeholder."home-assistant/auth-client-secret"}"
discovery_url: "https://authentik.mjallen.dev/application/o/home-assistant/.well-known/openid-configuration"
client_id: "${config.sops.placeholder."home-assistant/auth-client-id"}"
client_secret: "${config.sops.placeholder."home-assistant/auth-client-secret"}"
discovery_url: "https://authentik.mjallen.dev/application/o/home-assistant/.well-known/openid-configuration"
roles:
user: "non_existent"
admin: "hass-admin"
display_name: "Authentik"
'';
owner = config.users.users.hass.name;
group = config.users.users.hass.group;

View File

@@ -50,7 +50,7 @@
address = "10.0.1.4/24";
gateway = "10.0.1.1";
dns = "10.0.1.1";
interface = "wlp1s0";
interface = "enp2s0";
};
firewall = {
enable = true;