!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

493 Members
Declarative Home Automation and other Sidequests | https://wiki.nixos.org/wiki/Home_Assistant124 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
3 Mar 2025
@hexa:lossy.network@hexa:lossy.network* (just pinning some helpful messages, since element has been hiding the topic for a while)05:18:35
@lynatic:catgirl.cloud@lynatic:catgirl.cloudbeen using homeassistant on nixos for a few days now and I kinda struggle with figuring out where to put what, is there any documentation/unofficial wiki for the declerative (YAML) syntax? seems homeassistant themselves in many cases removed the YAML section from their documentation entirely in favor of showing off the UI-flow, how do y'all deal with this when writing config?06:19:16
@hexa:lossy.network@hexa:lossy.networkhm, they do advertise the yaml config where it is still applicable06:20:25
@lynatic:catgirl.cloud@lynatic:catgirl.cloud* been using homeassistant on nixos for a few days now and I kinda struggle with figuring out where to put what, is there any documentation/unofficial wiki for the declarative (YAML) syntax? seems homeassistant themselves in many cases removed the YAML section from their documentation entirely in favor of showing off the UI-flow, how do y'all deal with this when writing config?06:20:26
@hexa:lossy.network@hexa:lossy.network if you want to use a component that does not have any yaml config it needs to go into extraComponents 06:21:00
@hexa:lossy.network@hexa:lossy.network * if you want to use a component that does not have any yaml config it needs to go into extraComponents for the package to come with the required dependencies 06:21:16
@lynatic:catgirl.cloud@lynatic:catgirl.cloudso I just pull up the docs for the integration and if there is no yaml I configure it inside the UI and it won't get overwritten by nix?06:22:04
@lynatic:catgirl.cloud@lynatic:catgirl.cloud* so I just pull up the docs for an integration and if there is no yaml I configure it inside the UI and it won't get overwritten by nix?06:22:11
@hexa:lossy.network@hexa:lossy.networkyep06:22:12
@thebus:matrix.orgJaco joined the room.13:21:39
@philipp:xndr.dephilippHow are y'all using the nixos module? Currently my setup is in a weird and kinda unmaintainable setup that's half declaratively generated and half created with the webui and I think switching to either fully would be an improvement. I'd like to have it all declarative, but I haven't really found a good workflow. How are you going at it? Write automations/scenes in the webui and then generate nix expressions from that, or do you write them directly in nix?19:55:34
@geoffrey:frogeye.frGeoffrey FrogeyeBit of both. For the kind of automations I haven't done before, I do in the webui and convert yaml to nix expressions. Or at least the complicated parts (e.g. interacting with a device I haven't already an automation interacting with it). Otherwise Nix directly, copying existing code and modifying it to my needs. I do have a few helpers (functions and options), making this easier to write on the long run.20:10:12

Show newer messages


Back to Room ListRoom Version: 6