14 Jun 2021 |
lukegb (he/him) | yeah, but core installation method is explicitly unsupported if it's using "the distribution Python" | 19:18:28 |
@hexa:lossy.network | with 4,2% the smallest installation type, and probably very heterogeneous | 19:18:40 |
lukegb (he/him) | iirc you have to use a virtualenv | 19:18:45 |
@hexa:lossy.network | reasonable :) | 19:18:55 |
lukegb (he/him) | https://github.com/home-assistant/architecture/blob/master/adr/0016-home-assistant-core.md#supported-python-versions | 19:19:36 |
lukegb (he/him) | ah, it's collected here: https://sourcegraph.com/github.com/home-assistant/core/-/blob/homeassistant/helpers/system_info.py?utm_source=share#L42:9 | 19:21:57 |
lukegb (he/him) | I'm guessing we somehow always manage to trigger is_virtual_env or something | 19:22:18 |
@hexa:lossy.network | diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 1e33381de24..9c5d5b0eb02 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -66,7 +66,7 @@ in {
meta.maintainers = teams.home-assistant.members;
options.services.home-assistant = {
- enable = mkEnableOption "Home Assistant";
+ enable = mkEnableOption "Home Assistant. Please note that NixOS distribution of Home Assistant is unsupported upstream.";
configDir = mkOption {
default = "/var/lib/hass";
| 20:42:28 |
@hexa:lossy.network | * diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 1e33381de24..9c5d5b0eb02 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -66,7 +66,7 @@ in {
meta.maintainers = teams.home-assistant.members;
options.services.home-assistant = {
- enable = mkEnableOption "Home Assistant";
+ enable = mkEnableOption "Home Assistant. Please note that the NixOS distribution of Home Assistant is unsupported upstream.";
configDir = mkOption {
default = "/var/lib/hass";
| 20:42:36 |
@hexa:lossy.network | * diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 1e33381de24..9c5d5b0eb02 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -66,7 +66,7 @@ in {
meta.maintainers = teams.home-assistant.members;
options.services.home-assistant = {
- enable = mkEnableOption "Home Assistant";
+ enable = mkEnableOption "Home Assistant. Please note that the NixOS distribution of Home Assistant is unsupported upstream";
configDir = mkOption {
default = "/var/lib/hass";
| 20:42:43 |
@hexa:lossy.network | * diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 1e33381de24..9c5d5b0eb02 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -66,7 +66,7 @@ in {
meta.maintainers = teams.home-assistant.members;
options.services.home-assistant = {
- enable = mkEnableOption "Home Assistant";
+ enable = mkEnableOption "Home Assistant. Please note that the NixOS distribution of Home Assistant is unsupported upstream";
configDir = mkOption {
default = "/var/lib/hass";
Yay / Nay?
| 20:43:20 |
| vika (she/her) 🏳️⚧️ joined the room. | 21:03:22 |
| vika (she/her) 🏳️⚧️ | 21:05:01 |
vika (she/her) 🏳️⚧️ | In reply to @hexa:lossy.network
diff --git a/nixos/modules/services/misc/home-assistant.nix b/nixos/modules/services/misc/home-assistant.nix
index 1e33381de24..9c5d5b0eb02 100644
--- a/nixos/modules/services/misc/home-assistant.nix
+++ b/nixos/modules/services/misc/home-assistant.nix
@@ -66,7 +66,7 @@ in {
meta.maintainers = teams.home-assistant.members;
options.services.home-assistant = {
- enable = mkEnableOption "Home Assistant";
+ enable = mkEnableOption "Home Assistant. Please note that the NixOS distribution of Home Assistant is unsupported upstream";
configDir = mkOption {
default = "/var/lib/hass";
Yay / Nay?
Looks clear enough, but to someone like me who likes to read every single piece of documentation back to back painfully obvious. Of course I am not the intended audience for this change so take this with a grain of salt 🧂 | 21:16:57 |
vika (she/her) 🏳️⚧️ | * Looks clear enough, but to someone like me who likes to read every single piece of documentation back to back painfully obvious. Of course I am not the intended audience for this change so take this with a grain of salt 🧂 | 21:17:23 |
@hexa:lossy.network | yeah, it's difficult to find the proper spot(s) to make the community well aware | 21:17:38 |
@hexa:lossy.network | header of the wiki page probably | 21:17:44 |
vika (she/her) 🏳️⚧️ | It's just... My train of thought goes "of course it's unsupported, NixOS is doing a lot of things its own way" | 21:19:01 |
vika (she/her) 🏳️⚧️ | And additionally I like reading upstream documentation and it usually lists supported installation methods | 21:19:23 |
vika (she/her) 🏳️⚧️ | So by the time I get to distribution-specific documentation I'm usually well aware of support status for certain more esoteric setups | 21:19:59 |
@hexa:lossy.network | right | 21:20:13 |
vika (she/her) 🏳️⚧️ | I just hope it won't be the "toxic" kind of unsupported where issues get closed without letting you speak if you go so far as mentioning an unsupported configuration somewhere | 21:20:47 |
@hexa:lossy.network | - enable = mkEnableOption "Home Assistant";
+ enable = mkEnableOption "Home Assistant. Please note that this installation method is unsupported upstream";
| 21:20:46 |
@hexa:lossy.network | I've submitted reasonable issues to the upstream before | 21:21:02 |
vika (she/her) 🏳️⚧️ | In reply to @hexa:lossy.network
- enable = mkEnableOption "Home Assistant";
+ enable = mkEnableOption "Home Assistant. Please note that this installation method is unsupported upstream";
I like this one more! | 21:21:33 |
@hexa:lossy.network | You just need to make sure that the issue really belongs there | 21:21:20 |
@hexa:lossy.network | If you can't tell better to report to us. | 21:21:30 |
vika (she/her) 🏳️⚧️ | In reply to @hexa:lossy.network You just need to make sure that the issue really belongs there That's what I consider reasonable actually | 21:22:08 |
@hexa:lossy.network | Yup, don't need to mention hass or nixos again that way, and it relates to upstreams wording | 21:21:58 |
vika (she/her) 🏳️⚧️ | If I'd go my way about making home automation, I'd make a lot of HTTP gateway/webhook daemons to certain protocols for devices I have on my smart home, not depend on state at all - rather describe everything as, e.g. systemd units depending on each other, and then make a dashboard+event handler service that talks to these gateways and/or receives webhooks with events. I don't think smart homes should have any sort of state at all - most of the devices in my home only have transient state stored in them that disappears as soon as they're unplugged and plugged back in (or power goes out).
Maybe HTTP is not the best protocol for that but it'll do the job which is the important thing. Then one could wrangle it under nginx, create a nice HTML+CSS+a little bit of JS dashboard (TODO: generate it with Nix?) to send manual commands to things and enjoy a fully declarative configuration | 21:27:23 |