!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
18 Jul 2024
@tewi:queer.cattewi 🏳️‍⚧️ removed their profile picture.23:52:42
@tewi:queer.cattewi 🏳️‍⚧️ set a profile picture.23:53:17
19 Jul 2024
@ibizaman:matrix.orgibizaman
In reply to @mfed3:matrix.org
Can someone give me a snippet for how I'd do an overlay for home assistant in a flake and if that would be different than what is in the nixos wiki here:
https://wiki.nixos.org/wiki/Home_Assistant#Running_a_recent_version_using_an_overlay
You'll want to follow the outline here https://wiki.nixos.org/wiki/Flakes#Importing_packages_from_multiple_nixpkgs_branches
13:27:29
@ibizaman:matrix.orgibizaman
In reply to @mfed3:matrix.org
Can someone give me a snippet for how I'd do an overlay for home assistant in a flake and if that would be different than what is in the nixos wiki here:
https://wiki.nixos.org/wiki/Home_Assistant#Running_a_recent_version_using_an_overlay
* You'll want to follow the outline here https://wiki.nixos.org/wiki/Flakes#Importing_packages_from_multiple_nixpkgs_branches
So with flakes, the nixpkgs unstable will be a flake input.
13:28:04
@ibizaman:matrix.orgibizaman * You'll want to follow the outline here https://wiki.nixos.org/wiki/Flakes#Importing_packages_from_multiple_nixpkgs_branches
With flakes, the nixpkgs unstable will be a flake input.
13:28:11
@mfed3:matrix.orgmfed3Easy to follow and makes sense for inclusion of packages, but what about services?15:14:58
@mfed3:matrix.orgmfed3Do I want to then still apply something like in the snippet saying disabledmodules = ... And then imports= ... ?15:17:03
@mfed3:matrix.orgmfed3Seems so ridiculously over complicated15:22:28
20 Jul 2024
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.asHeyho! How can I override a component in the home-assistant derivation?17:57:04
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.as More specifically: I want to patch the alpha_vantage component to not poll every 5 minutes, because the free API key only allows 25 requests per day. ... I'd rather like to have hourly polls... but there's no way to configure the component 17:57:59
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.asThis is the component: https://github.com/home-assistant/core/tree/dev/homeassistant/components/alpha_vantage17:58:17
@hexa:lossy.network@hexa:lossy.networktake it upstream18:04:26
@hexa:lossy.network@hexa:lossy.network * take thei ssue upstream18:04:30
@hexa:lossy.network@hexa:lossy.network * take the issue upstream18:04:32
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.asah, someone already did: https://github.com/home-assistant/core/issues/109153 ...so I've spent the last two hours learning nix shenenigans 🤷18:08:07
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.as * ah, someone already did: https://github.com/home-assistant/core/issues/109153 ...so I've spent the last two hours learning nix shenanigans 🤷18:08:19
@andmuz:matrix.org@andmuz:matrix.org left the room.20:09:20
21 Jul 2024
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.asIf I create a script via the UI, it is not saved... I assume that's because I do most of my configuration foo via nix, right?08:44:26
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.as * If I create a script via the HA UI, it is not saved... I assume that's because I do most of my configuration foo via nix, right?08:44:35
@hexa:lossy.network@hexa:lossy.networkyou need something like this https://wiki.nixos.org/wiki/Home_Assistant#Combine_declarative_and_UI_defined_automations10:26:53
@hexa:lossy.network@hexa:lossy.networkprobably for scripts.yaml10:27:22
@hexa:lossy.network@hexa:lossy.network musicmatze: can you check if /var/lib/hass/scripts.yaml exists with your saved script? 10:48:30
@qyliss:fairydust.space@qyliss:fairydust.space left the room.10:48:34
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.asyes it exists and there are scripts in there10:49:31
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.as(that I created, AFAICS)10:49:42
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.as ah, I was missing the "script ui" = "!include scripts.yaml" bit from my configuration 13:33:48
@hexa:lossy.network@hexa:lossy.networkyeah, I just rewrote that section of the wiki to make it clearer https://wiki.nixos.org/wiki/Home_Assistant#Automations,_Scenes,_and_Scripts_from_the_UI13:34:57
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.as I also edited the wiki for a typo, where it said "scripts ui" instead of "script ui" (additional "s" removed) 13:35:24
@musicmatze:beyermatthi.as@musicmatze:beyermatthi.asSlowly I am getting the hang of it. Amazing!18:33:40
@hexa:lossy.network@hexa:lossy.networkis anyone here using ollama with rocm?18:36:27

Show newer messages


Back to Room ListRoom Version: 6