diff --git a/loki/configuration.nix b/loki/configuration.nix index b42ba3c..dd756de 100644 --- a/loki/configuration.nix +++ b/loki/configuration.nix @@ -22,7 +22,7 @@ with lib; { hardware = { enableRedistributableFirmware = true; - nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470; + # nvidia.package = config.boot.kernelPackages.nvidiaPackages.legacy_470; # nvidia.nvidiaPersistenced = true; # HEADLESS # nvidia.prime = { # offload.enable = false; @@ -209,7 +209,7 @@ with lib; { }; xserver = { # enable = true; - videoDrivers = [ "nvidia" ]; + # videoDrivers = [ "nvidia" ]; # layout = "it"; # xkbOptions = "eurosign:e;"; # libinput.enable = true; @@ -398,12 +398,29 @@ with lib; { services.home-assistant = { 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 = [ - # "accuweather" + "default_config" + + + "accuweather" "alert" "analytics" "automation" + "backup" "bayesian" "binary_sensor" "blueprint" @@ -411,9 +428,9 @@ with lib; { # "bluetooth_tracker" "button" "camera" - # "cast" - # "citybikes" - "conf" + "cast" + "citybikes" + "config" "configurator" "coronavirus" "counter" @@ -424,10 +441,12 @@ with lib; { "device_sun_light_trigger" "device_tracker" "dhcp" - # "dlib_face_detect" - # "dlib_face_identify" - # "esphome" - # "flux" + "dlib_face_detect" + "dlib_face_identify" + "dlna_dmr" + "dlna_dms" + "esphome" + "flux" "group" "hassio" "input_boolean" @@ -436,12 +455,24 @@ with lib; { "input_number" "input_select" "input_text" + "jellyfin" + "local_file" + "media_player" + "met" # "meteoalarm" + "mobile_app" + "network" + "notify" "ping" + "plex" "proximity" + "radarr" + "radio_browser" "random" - "schedule" + # "schedule" "script" + "sonarr" + # "spotify" "tcp" "template" "threshold" @@ -451,7 +482,7 @@ with lib; { "upnp" "workday" "zeroconf" - # "zoneminder" + "zoneminder" ]; };