Home network update
Baldur: disable proxy buffering for home-assistant Freya: cleanup for setup Loki: home-assistant configuration
This commit is contained in:
parent
2d5a12eba0
commit
f5ed37a7fb
3 changed files with 10 additions and 30 deletions
|
|
@ -66,6 +66,7 @@ with lib; {
|
|||
locations."/" = { proxyPass = "http://${loki}:8123/"; proxyWebsockets = true; };
|
||||
extraConfig = ''
|
||||
proxy_pass_header Authorization;
|
||||
proxy_buffering off;
|
||||
'';
|
||||
};
|
||||
"radarr.bertof.net" = ssl // { locations."/" = { proxyPass = "http://${loki}:7878/"; proxyWebsockets = true; }; };
|
||||
|
|
|
|||
|
|
@ -1,12 +1,8 @@
|
|||
{ pkgs, lib, ... }:
|
||||
with lib; {
|
||||
boot = {
|
||||
binfmt.emulatedSystems = [ "armv7l-linux" "aarch64-linux" ];
|
||||
kernelPackages = pkgs.linuxPackages_latest;
|
||||
loader = {
|
||||
systemd-boot.enable = true;
|
||||
efi.canTouchEfiVariables = true;
|
||||
};
|
||||
loader = { systemd-boot.enable = true; efi.canTouchEfiVariables = true; };
|
||||
};
|
||||
|
||||
console = {
|
||||
|
|
|
|||
|
|
@ -407,20 +407,18 @@ with lib; {
|
|||
external_url = "https://home-assistant.bertof.net";
|
||||
};
|
||||
|
||||
automation = "!include automations.yaml";
|
||||
script = "!include scripts.yaml";
|
||||
scene = "!include scenes.yaml";
|
||||
|
||||
http = {
|
||||
use_x_forwarded_for = true;
|
||||
trusted_proxies = [ "172.23.252.242" "::1" "127.0.0.1" ];
|
||||
};
|
||||
|
||||
esphome = { };
|
||||
|
||||
|
||||
cloud = { };
|
||||
config = { };
|
||||
device_tracker = [{
|
||||
platform = "bluetooth_tracker";
|
||||
request_rssi = true;
|
||||
}];
|
||||
esphome = { };
|
||||
frontend = { };
|
||||
history = { };
|
||||
logbook = { };
|
||||
|
|
@ -437,6 +435,7 @@ with lib; {
|
|||
};
|
||||
configDir = "/var/lib/hass";
|
||||
configWritable = true;
|
||||
extraPackages = ps: with ps; [ securetar ];
|
||||
extraComponents = [
|
||||
"default_config"
|
||||
|
||||
|
|
@ -444,8 +443,6 @@ with lib; {
|
|||
"accuweather"
|
||||
"alert"
|
||||
"analytics"
|
||||
"automation"
|
||||
"backup"
|
||||
"bayesian"
|
||||
"binary_sensor"
|
||||
"blueprint"
|
||||
|
|
@ -455,17 +452,14 @@ with lib; {
|
|||
"camera"
|
||||
"cast"
|
||||
"citybikes"
|
||||
"config"
|
||||
"configurator"
|
||||
"coronavirus"
|
||||
"counter"
|
||||
"cover"
|
||||
"default_config"
|
||||
"derivative"
|
||||
"device_automation"
|
||||
"device_sun_light_trigger"
|
||||
"device_tracker"
|
||||
"dhcp"
|
||||
"dlib_face_detect"
|
||||
"dlib_face_identify"
|
||||
"dlna_dmr"
|
||||
|
|
@ -474,18 +468,11 @@ with lib; {
|
|||
"flux"
|
||||
"group"
|
||||
"hassio"
|
||||
"input_boolean"
|
||||
"input_button"
|
||||
"input_datetime"
|
||||
"input_number"
|
||||
"input_select"
|
||||
"input_text"
|
||||
"jellyfin"
|
||||
"local_file"
|
||||
"media_player"
|
||||
"met"
|
||||
# "meteoalarm"
|
||||
"mobile_app"
|
||||
"meteoalarm"
|
||||
"network"
|
||||
"nmap_tracker"
|
||||
"notify"
|
||||
|
|
@ -495,19 +482,15 @@ with lib; {
|
|||
"radarr"
|
||||
"radio_browser"
|
||||
"random"
|
||||
# "schedule"
|
||||
"script"
|
||||
"sonarr"
|
||||
# "spotify"
|
||||
"spotify"
|
||||
"tcp"
|
||||
"template"
|
||||
"threshold"
|
||||
"timer"
|
||||
"tod" # times of the day
|
||||
"trend"
|
||||
"upnp"
|
||||
"workday"
|
||||
"zeroconf"
|
||||
"zoneminder"
|
||||
];
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue