1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat(zackbiene): reenable hass with ACME double proxy

This commit is contained in:
oddlama 2023-07-27 19:06:03 +02:00
parent b2b2e60725
commit eeac57d30d
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
8 changed files with 68 additions and 13 deletions

View file

@ -165,6 +165,22 @@
group = "root";
mode = "0700";
}
]
++ lib.optionals config.services.esphome.enable [
{
directory = "/var/lib/private/esphome";
user = "root";
group = "root";
mode = "0700";
}
]
++ lib.optionals config.services.home-assistant.enable [
{
directory = config.services.home-assistant.configDir;
user = "hass";
group = "hass";
mode = "0700";
}
];
};
}

View file

@ -77,6 +77,7 @@ in {
virtualHosts.dummy = {
listenAddresses = ["127.0.0.1" "[::1]"];
default = true;
rejectSSL = true;
locations."/".extraConfig = ''
deny all;
'';