!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
3 Jul 2024
@quidome:matrix.org@quidome:matrix.org left the room.18:44:13
@quidome:matrix.org@quidome:matrix.org joined the room.18:45:12
@quidome:matrix.org@quidome:matrix.org left the room.18:45:38
4 Jul 2024
@eyjhb:eyjhb.dk@eyjhb:eyjhb.dk left the room.11:00:42
5 Jul 2024
@hexa:lossy.network@hexa:lossy.network withdrew @woop:matrix.treehaus.space@woop:matrix.treehaus.space's invite.16:42:50
@cpt.chaos:abot.xyztweber83 changed their display name from cpt.chaos to tweber83.20:21:32
6 Jul 2024
@w4tsn:darmstadt.socialw4tsn 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:0upti.meK900We have tools for custom components now 15:02:54
@k900:0upti.meK900In nixpkgs 15:02:57
@w4tsn:darmstadt.socialw4tsnCool! Is that already documented and if so can you point me to it? :)15:03:50
@w4tsn:darmstadt.socialw4tsn 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:0upti.meK900 See services.home-assistant.customComponents 15:04:39
@k900:0upti.meK900 sources is not a common thing 15:04:48
@k900:0upti.meK900I assume it's part of some bigger example 15:04:58
@hexa:lossy.network@hexa:lossy.networkmake sure to read https://wiki.nixos.org/wiki/Home_Assistant, not the other wiki15:26:28
@hexa:lossy.network@hexa:lossy.networkI once again feel the urge to yeet the configDir option from home-assistant 🤔20:27:50
@hexa:lossy.network@hexa:lossy.network the only person mentioning that option in the backlog is presto8 20:28:21
@hexa:lossy.network@hexa:lossy.networkwdyt?20:28:25
@geoffrey:frogeye.frGeoffrey FrogeyeSo 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@hexa:lossy.networkhttps://github.com/euank/yaml2nix 🤔22:18:20
@hexa:lossy.network@hexa:lossy.networkwouldn't it make sense to just convert it in one go and make it work from there?22:18:33
@mindstorms6:matrix.orgmindstorms6I've used this and it works really well22:19:01
7 Jul 2024
@geoffrey:frogeye.frGeoffrey 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@dminca:matrix.org joined the room.09:37:49
@presto8:matrix.orgpresto8
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@hexa:lossy.networkonly the declarative config15:09:09
@hexa:lossy.network@hexa:lossy.networkwhich is at the same time the only config for which we have tests15:09:19
@presto8:matrix.orgpresto8Let 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 HA15:12:14
@presto8:matrix.orgpresto8Oh you mean update the wiki docs to remove the declarative config example?15:14:25
@hexa:lossy.network@hexa:lossy.networkno15:16:55

Show newer messages


Back to Room ListRoom Version: 6