homeassistant: add some neat things
This commit is contained in:
parent
79c82f890f
commit
625335b528
1 changed files with 30 additions and 3 deletions
|
@ -60,6 +60,7 @@ in
|
||||||
};
|
};
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedTCPPorts = [
|
allowedTCPPorts = [
|
||||||
|
443
|
||||||
53
|
53
|
||||||
80
|
80
|
||||||
];
|
];
|
||||||
|
@ -117,8 +118,8 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.tmpfiles.rules = [
|
systemd.tmpfiles.rules = [
|
||||||
"C+ /var/lib/hass/custom_components/tuya_vacuum_maps - - - - ${inputs.tuya-vaccum-maps}/custom_components/tuya_vacuum_maps"
|
# "C+ /var/lib/hass/custom_components/tuya_vacuum_maps - - - - ${inputs.tuya-vaccum-maps}/custom_components/tuya_vacuum_maps"
|
||||||
"Z /var/lib/hass/custom_components 770 hass hass - -"
|
# "Z /var/lib/hass/custom_components 770 hass hass - -"
|
||||||
"f ${config.services.home-assistant.configDir}/automations.yaml 0755 hass hass"
|
"f ${config.services.home-assistant.configDir}/automations.yaml 0755 hass hass"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -133,10 +134,10 @@ in
|
||||||
"met"
|
"met"
|
||||||
"esphome"
|
"esphome"
|
||||||
"rpi_power"
|
"rpi_power"
|
||||||
|
"tuya"
|
||||||
];
|
];
|
||||||
|
|
||||||
customComponents = with pkgs.home-assistant-custom-components; [
|
customComponents = with pkgs.home-assistant-custom-components; [
|
||||||
tuya_local
|
|
||||||
smartthinq-sensors
|
smartthinq-sensors
|
||||||
sleep_as_android
|
sleep_as_android
|
||||||
];
|
];
|
||||||
|
@ -148,6 +149,9 @@ in
|
||||||
|
|
||||||
customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [
|
customLovelaceModules = with pkgs.home-assistant-custom-lovelace-modules; [
|
||||||
mushroom
|
mushroom
|
||||||
|
bubble-card
|
||||||
|
clock-weather-card
|
||||||
|
vacuum-card
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
@ -156,11 +160,34 @@ in
|
||||||
longitude = 8.6;
|
longitude = 8.6;
|
||||||
temperature_unit = "C";
|
temperature_unit = "C";
|
||||||
unit_system = "metric";
|
unit_system = "metric";
|
||||||
|
|
||||||
|
external_url = "https://ha.christophhollizeck.dev";
|
||||||
|
internal_url = "http://192.168.178.2:8123";
|
||||||
};
|
};
|
||||||
|
|
||||||
mobile_app = "";
|
mobile_app = "";
|
||||||
|
recorder = "";
|
||||||
|
|
||||||
lovelace = {
|
lovelace = {
|
||||||
|
# mode = "yaml";
|
||||||
|
resources = [
|
||||||
|
{
|
||||||
|
url = "/local/nixos-lovelace-modules/vacuum-card.js";
|
||||||
|
type = "module";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
url = "/local/nixos-lovelace-modules/bubble-card.js";
|
||||||
|
type = "module";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
url = "/local/nixos-lovelace-modules/clock-weather-card.js";
|
||||||
|
type = "module";
|
||||||
|
}
|
||||||
|
{
|
||||||
|
url = "/local/nixos-lovelace-modules/mushroom.js";
|
||||||
|
type = "module";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
http = {
|
http = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue