!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

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


SenderMessageTime
3 Mar 2025
@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
@philipp:xndr.dephilippThanks! I think I'll try to do something similar, that seems like a reasonable compromise solution.20:12:55
@philipp:xndr.dephilipp(Let's hope I find the motivation to actually move imperative configs over to nix this time 😅)20:13:25
@sandro:supersandro.deSandro 🐧You already looked at https://wiki.nixos.org/wiki/Home-assistant ; right?23:08:16
@sandro:supersandro.deSandro 🐧* You already looked at https://wiki.nixos.org/wiki/Home-assistant , right?23:08:19
@sandro:supersandro.deSandro 🐧kinda doing the same. Either way a bit annoying. You always need a test dashboard or automation to test things with23:08:49

Show newer messages


Back to Room ListRoom Version: 6