hass unstable
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
namespace,
|
namespace,
|
||||||
|
inputs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
with lib;
|
with lib;
|
||||||
@@ -10,7 +11,16 @@ let
|
|||||||
cfg = config.${namespace}.services.home-assistant;
|
cfg = config.${namespace}.services.home-assistant;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
disabledModules = [
|
||||||
|
"services/home-automation/home-assistant.nix"
|
||||||
|
];
|
||||||
|
|
||||||
|
imports = [
|
||||||
|
"${inputs.nixpkgs-unstable}/nixos/modules/services/home-automation/home-assistant.nix"
|
||||||
|
];
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
services.home-assistant = {
|
services.home-assistant = {
|
||||||
enable = true;
|
enable = true;
|
||||||
openFirewall = true;
|
openFirewall = true;
|
||||||
@@ -76,9 +86,9 @@ in
|
|||||||
"fully_kiosk"
|
"fully_kiosk"
|
||||||
"generic"
|
"generic"
|
||||||
"generic_thermostat"
|
"generic_thermostat"
|
||||||
"geo_json_events"
|
# "geo_json_events"
|
||||||
"geo_location"
|
# "geo_location"
|
||||||
"geo_rss_events"
|
# "geo_rss_events"
|
||||||
"github"
|
"github"
|
||||||
"gitlab_ci"
|
"gitlab_ci"
|
||||||
"glances"
|
"glances"
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{ ... }:
|
{ inputs, ... }:
|
||||||
final: _prev: {
|
final: _prev: {
|
||||||
home-assistant = final.unstable.home-assistant;
|
inherit (inputs.nixpkgs-unstable.home-assistant);
|
||||||
home-assistant-custom-components = final.unstable.home-assistant-custom-components;
|
# home-assistant = final.unstable.home-assistant;
|
||||||
python3Packages = final.unstable.python3Packages;
|
# home-assistant-custom-components = final.unstable.home-assistant-custom-components;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user