Update home-asstant configuration loki

This commit is contained in:
Filippo Berto 2022-11-11 14:37:52 +01:00
parent 8a859f17de
commit bb52b42051
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -22,7 +22,7 @@ with lib; {
hardware = { hardware = {
enableRedistributableFirmware = true; enableRedistributableFirmware = true;
nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470; # nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
# nvidia.nvidiaPersistenced = true; # HEADLESS # nvidia.nvidiaPersistenced = true; # HEADLESS
# nvidia.prime = { # nvidia.prime = {
# offload.enable = false; # offload.enable = false;
@ -209,7 +209,7 @@ with lib; {
}; };
xserver = { xserver = {
# enable = true; # enable = true;
videoDrivers = [ "nvidia" ]; # videoDrivers = [ "nvidia" ];
# layout = "it"; # layout = "it";
# xkbOptions = "eurosign:e;"; # xkbOptions = "eurosign:e;";
# libinput.enable = true; # libinput.enable = true;
@ -398,12 +398,29 @@ with lib; {
services.home-assistant = { services.home-assistant = {
enable = true; enable = true;
openFirewall = true; # package = pkgs.unstable.home-assistant;
# openFirewall = true;
# config = {
# default_config = { };
# name = "Casa";
# latitude = 45.05197317019396;
# longitude = 11.653331816196443;
# elevation = 17;
# unit_system = "metric";
# time_zone = "Europe/Rome";
# };
config = null;
configDir = "/var/lib/hass";
configWritable = true;
extraComponents = [ extraComponents = [
# "accuweather" "default_config"
"accuweather"
"alert" "alert"
"analytics" "analytics"
"automation" "automation"
"backup"
"bayesian" "bayesian"
"binary_sensor" "binary_sensor"
"blueprint" "blueprint"
@ -411,9 +428,9 @@ with lib; {
# "bluetooth_tracker" # "bluetooth_tracker"
"button" "button"
"camera" "camera"
# "cast" "cast"
# "citybikes" "citybikes"
"conf" "config"
"configurator" "configurator"
"coronavirus" "coronavirus"
"counter" "counter"
@ -424,10 +441,12 @@ with lib; {
"device_sun_light_trigger" "device_sun_light_trigger"
"device_tracker" "device_tracker"
"dhcp" "dhcp"
# "dlib_face_detect" "dlib_face_detect"
# "dlib_face_identify" "dlib_face_identify"
# "esphome" "dlna_dmr"
# "flux" "dlna_dms"
"esphome"
"flux"
"group" "group"
"hassio" "hassio"
"input_boolean" "input_boolean"
@ -436,12 +455,24 @@ with lib; {
"input_number" "input_number"
"input_select" "input_select"
"input_text" "input_text"
"jellyfin"
"local_file"
"media_player"
"met"
# "meteoalarm" # "meteoalarm"
"mobile_app"
"network"
"notify"
"ping" "ping"
"plex"
"proximity" "proximity"
"radarr"
"radio_browser"
"random" "random"
"schedule" # "schedule"
"script" "script"
"sonarr"
# "spotify"
"tcp" "tcp"
"template" "template"
"threshold" "threshold"
@ -451,7 +482,7 @@ with lib; {
"upnp" "upnp"
"workday" "workday"
"zeroconf" "zeroconf"
# "zoneminder" "zoneminder"
]; ];
}; };