summaryrefslogtreecommitdiff
path: root/hostnix/weebnix/configuration.nix
diff options
context:
space:
mode:
authorJoe Mou <dev@mou.fo>2023-09-28 21:12:24 -0400
committerJoe Mou <dev@mou.fo>2023-10-01 13:55:14 -0400
commit2f1e0c381e04b25b8c64f260967691f4cf841127 (patch)
treee2dd0b7e4c50847cb29bbdca92daceb5d04c8390 /hostnix/weebnix/configuration.nix
parent8af87ef973667a8a430532a96a2d2913dd1147cd (diff)
Initial configuration of Home Assistant w/ oauth2-proxy for KeyCloak authentication
Diffstat (limited to 'hostnix/weebnix/configuration.nix')
-rw-r--r--hostnix/weebnix/configuration.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/hostnix/weebnix/configuration.nix b/hostnix/weebnix/configuration.nix
index f38148a..0e6591d 100644
--- a/hostnix/weebnix/configuration.nix
+++ b/hostnix/weebnix/configuration.nix
@@ -4,6 +4,7 @@
imports = [
./dyndns.nix
./hardware-configuration.nix
+ ./home-assistant.nix
./syncthing.nix
./system.nix
];
@@ -81,6 +82,12 @@
'';
};
+ # TODO remove upon switching to production certs
+ services.oauth2_proxy.extraConfig = {
+ "ssl-insecure-skip-verify" = true;
+ "ssl-upstream-insecure-skip-verify" = true;
+ };
+
networking.firewall.allowedTCPPorts = [ 80 443 ];
# This value determines the NixOS release from which the default