forked from mirrors_public/oddlama_nix-config
feat(zackbiene): reenable hass with ACME double proxy
This commit is contained in:
parent
b2b2e60725
commit
eeac57d30d
8 changed files with 68 additions and 13 deletions
|
@ -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";
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -77,6 +77,7 @@ in {
|
|||
virtualHosts.dummy = {
|
||||
listenAddresses = ["127.0.0.1" "[::1]"];
|
||||
default = true;
|
||||
rejectSSL = true;
|
||||
locations."/".extraConfig = ''
|
||||
deny all;
|
||||
'';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue