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