| 3 Jul 2024 |
| @quidome:matrix.org left the room. | 18:44:13 |
| @quidome:matrix.org joined the room. | 18:45:12 |
| @quidome:matrix.org left the room. | 18:45:38 |
| 4 Jul 2024 |
| @eyjhb:eyjhb.dk left the room. | 11:00:42 |
| 5 Jul 2024 |
| @hexa:lossy.network withdrew @woop:matrix.treehaus.space's invite. | 16:42:50 |
| tweber83 changed their display name from cpt.chaos to tweber83. | 20:21:32 |
| 6 Jul 2024 |
w4tsn | Hi 👋 I want to try some custom ha component and the docs say systemd.tmpfiles.rules is the way to go, but in the example there is a reference to ${sources.sonoff-lan} and I don't know where the sources variable is coming from. I suspect that there is either some sources.sonoff-lan = fetchTarball going on (I don't know if that would work) or another mechanism I'm not aware of and which is not referenced in the docs. I guess there is some way to fetch a git repo so that it appears in sources."some-name" ? | 15:00:21 |
K900 | We have tools for custom components now | 15:02:54 |
K900 | In nixpkgs | 15:02:57 |
w4tsn | Cool! Is that already documented and if so can you point me to it? :) | 15:03:50 |
w4tsn | Also I'd still like to understand what that sources variable is out of curiosity, even if I don't need it anymore | 15:04:19 |
K900 | See services.home-assistant.customComponents | 15:04:39 |
K900 | sources is not a common thing | 15:04:48 |
K900 | I assume it's part of some bigger example | 15:04:58 |
@hexa:lossy.network | make sure to read https://wiki.nixos.org/wiki/Home_Assistant, not the other wiki | 15:26:28 |
@hexa:lossy.network | I once again feel the urge to yeet the configDir option from home-assistant 🤔 | 20:27:50 |
@hexa:lossy.network | the only person mentioning that option in the backlog is presto8 | 20:28:21 |
@hexa:lossy.network | wdyt? | 20:28:25 |
Geoffrey Frogeye | So like, no imperative configuration? If so, it's been super helpful for migrating my huge setup to NixOS modules without having to do everything at once. Converting all the HACS/custom components to Nix took a loong time, so I was happy to have mid-point that (roughly) worked to breathe before attacking with the config... Which I'm actually still not done with actually 🙈, there's some stuff not working and it has to be in how I packaged stuff since I can be sure the config is exactly the same... Aiming to upstream that once I figure it out 🤞. | 21:55:28 |
@hexa:lossy.network | https://github.com/euank/yaml2nix 🤔 | 22:18:20 |
@hexa:lossy.network | wouldn't it make sense to just convert it in one go and make it work from there? | 22:18:33 |
mindstorms6 | I've used this and it works really well | 22:19:01 |
| 7 Jul 2024 |
Geoffrey Frogeye | Hmmm, would that still work with components that read (write?) files in the directory, like pyscript? Most of my config was actually that, not so much yaml. I suppose that I could point the pyscript config to an absolute path instead of relative, but I haven't tried. | 01:59:02 |
| @dminca:matrix.org joined the room. | 09:37:49 |
presto8 | In reply to @hexa:lossy.network the only person mentioning that option in the backlog is presto8 I can't even remember what I mentioned... could you remind me? :) If configDir is removed, what would be the replacement? | 15:08:23 |
@hexa:lossy.network | only the declarative config | 15:09:09 |
@hexa:lossy.network | which is at the same time the only config for which we have tests | 15:09:19 |
presto8 | Let me check how I'm doing it, it has been so long I can't even remember what I did. I know I have a mix of declarative (which I always prefer) and UI-based stuff from HA | 15:12:14 |
presto8 | Oh you mean update the wiki docs to remove the declarative config example? | 15:14:25 |
@hexa:lossy.network | no | 15:16:55 |