| 3 Mar 2025 |
@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 |
| 4 Mar 2025 |
@lynatic:catgirl.cloud | In reply to @sandro:supersandro.de You already looked at https://wiki.nixos.org/wiki/Home-assistant , right? Yes, this certainly helps but for many things not listed there the correct way to implement it still is mostly trial and error as all tutorials depend on the GUI. | 01:08:21 |
@lynatic:catgirl.cloud | now I know better but i probably spent a day trying to figure out how to declare MQTT | 01:11:05 |
Sandro 🐧 | Yeah, didn't get that much better with the latest updates, some things actually got worse | 01:11:16 |
@lynatic:catgirl.cloud | * | 01:11:32 |
Sandro 🐧 | I usually tinker with GUI and copy things from there as previously said | 01:11:36 |
@hexa:lossy.network | mqtt in yaml was removed | 01:11:50 |
@lynatic:catgirl.cloud | In reply to @hexa:lossy.network mqtt in yaml was removed yeah :( | 01:12:05 |
kdn | So... I'm getting a bunch of PWM 8x controllable fans for my RACK, is there a way to control those using raspberry pi and power from AC? | 11:18:45 |
K900 | Well you'd need to get 12V or 5V or whatever the fans run at off the wall | 11:19:44 |
K900 | And then in most cases you can just shove a PWM signal from the RPi into the fans | 11:20:00 |
kdn | I'm not sure what kind of device(s) should I get | 11:20:05 |
K900 | Most fans are perfectly fine with basically any level of PWM signal | 11:20:28 |
K900 | A device for what? | 11:20:38 |
kdn | to join those 8 together, power and adjust their speeds | 11:20:55 |
kdn | preferably in 2 groups of 4 | 11:21:06 |
K900 | Are they daisy chainable? | 11:21:57 |
K900 | Can you link the fan model, actually? | 11:22:05 |
kdn | https://www.arctic.de/en/P14-PWM-PST-CO/ACFAN00126A | 11:22:12 |
kdn | i see mostly 2.5A LED power supplies for PWM | 11:23:47 |
K900 | Yeah those daisy chain | 11:23:53 |
K900 | And are 12V | 11:24:16 |