🏠 initial home-assistant setup

This commit is contained in:
2021-07-14 22:49:45 -04:00
parent 385a8793b0
commit bafa1a9b9e
5 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,17 @@
{ config, lib, pkgs, ... }:
{
services.nginx = {
enable = true;
virtualHosts = {
"hass.nerdhaus.ca" = {
forceSSL = true;
enableACME = true;
locations."/" = {
proxyPass = "http://plato:8123";
proxyWebsockets = true;
};
};
};
};
}