!QhvgabMQzwEQeWehhZ:lossy.network

NixOS Home Automation

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

Load older messages


SenderMessageTime
24 Jan 2025
@hexa:lossy.network@hexa:lossy.networkhttps://nixpk.gs/pr-tracker.html?pr=37579818:29:12
@hexa:lossy.network@hexa:lossy.networkhas landed in all unstable branches18:29:16
@laurynasp:matrix.orglaurynasphm.. I had an impression that the error was seperate from the warning, and the PR seems to fix the warning18:29:43
@laurynasp:matrix.orglaurynaspok, I will update my flake and try again18:29:57
@laurynasp:matrix.orglaurynasp

I have updated to nixos-unstable to the most recent commit (i.e. 0aa475546ed21629c4f5bbf90e38c846a99ec9e9) and I am still getting the error (which i think is the same that uep mentioned)

The error is

error:
       … while calling the 'head' builtin
         at /nix/store/8dh0832snzamw6wk2rdfjz29xdzgma49-source/lib/attrsets.nix:1574:11:
         1573|         || pred here (elemAt values 1) (head values) then
         1574|           head values
             |           ^
         1575|         else

       … while evaluating the attribute 'value'
         at /nix/store/8dh0832snzamw6wk2rdfjz29xdzgma49-source/lib/modules.nix:846:9:
          845|     in warnDeprecation opt //
          846|       { value = addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          847|         inherit (res.defsFinal') highestPrio;

       … while evaluating the option `system.build.toplevel':

       … while evaluating definitions from `/nix/store/8dh0832snzamw6wk2rdfjz29xdzgma49-source/nixos/modules/system/activation/top-level.nix':

       … while evaluating the option `warnings':

       … while evaluating definitions from `/nix/store/8dh0832snzamw6wk2rdfjz29xdzgma49-source/nixos/modules/system/boot/systemd.nix':

       … while evaluating the option `systemd.services.wyoming-openwakeword.serviceConfig':

       … while evaluating definitions from `/nix/store/8dh0832snzamw6wk2rdfjz29xdzgma49-source/nixos/modules/services/home-automation/wyoming/openwakeword.nix':

       (stack trace truncated; use '--show-trace' to show the full, detailed trace)

       error: expected a list but found the partially applied built-in function 'concatMap': «partially applied primop concatMap»

18:52:35
@laurynasp:matrix.orglaurynaspI am fairly certain it is the the brackets for concatMap in https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/home-automation/wyoming/openwakeword.nix I will try that locally18:53:49
@hexa:lossy.network@hexa:lossy.networkThat fix has not yet landed in a channel I'm afraid19:01:59
@hexa:lossy.network@hexa:lossy.networkhttps://github.com/NixOS/nixpkgs/pull/37638119:02:40
@laurynasp:matrix.orglaurynaspoh that's great it has been merged already19:44:40
@laurynasp:matrix.orglaurynaspis there a lifehack for easy tracking of nixpkgs PRs for home-assistant eco system?19:45:54
@hexa:lossy.network@hexa:lossy.networkI sometimes post stuff in here20:04:16
@tcas:matrix.orgtcas joined the room.20:20:29
@motiejus:jakstys.ltmotiejus

Hi all. Can someone help me understand why there is pkgs/servers/home-assistant/custom-components/frigate/package.nix, but not in pkgs/servers/home-assistant/component-packages.nix?

I am trying to use frigate in my extraComponents and it unsurprisingly cannot be found. I went through github issues, but couldn't locate anything relevant from the last ~6 months.

21:30:12
@motiejus:jakstys.ltmotiejus *

Hi all. Can someone help me understand why there is pkgs/servers/home-assistant/custom-components/frigate/package.nix, but not in pkgs/servers/home-assistant/component-packages.nix?

I am trying to use frigate in my extraComponents and it unsurprisingly cannot be found. I went through github issues, but couldn't locate anything relevant from the past ~6 months.

21:30:16
@motiejus:jakstys.ltmotiejus *

Hi all. Can someone help me understand why there is pkgs/servers/home-assistant/custom-components/frigate/package.nix, but it's not listed in pkgs/servers/home-assistant/component-packages.nix?

I am trying to use frigate in my extraComponents and it unsurprisingly cannot be found. I went through github issues, but couldn't locate anything relevant from the past ~6 months.

21:30:37
@hexa:lossy.network@hexa:lossy.networkautocalling21:33:31
@hexa:lossy.network@hexa:lossy.networklike by-name21:33:40
@hexa:lossy.network@hexa:lossy.networkcomponent-packages.nix is the autogenerated map of integrated components21:34:08
@hexa:lossy.network@hexa:lossy.network * component-packages.nix is the autogenerated map of integrated components 21:34:18
@motiejus:jakstys.ltmotiejushm, so it's supposed to work then?22:47:53
@motiejus:jakstys.ltmotiejus(if yes, how do I add it to extraComponents?)22:48:35
@hexa:lossy.network@hexa:lossy.network
nix-repl> home-assistant-custom-components.frigate
«derivation /nix/store/l136bbv68aj1z4djiggwd0hasdlbckwg-python3.13-blakeblackshear-frigate-5.4.0.drv»
22:54:30
@hexa:lossy.network@hexa:lossy.networknote that it is out of date and a PR to update it has stalled for two weeks22:55:18
25 Jan 2025
@laurynasp:matrix.orglaurynasp

Out of curiosity, those who run faster-shisper, what hardware do you use?

  1. Cloud
  2. Raspberry
  3. desktop pc
07:42:37
@laurynasp:matrix.orglaurynasp *

Out of curiosity, those who run faster-shisper, what hardware do you use?

  1. Cloud
  2. Raspberry
  3. desktop pc
  4. some dedicated hardware jetson, google coral etc
07:46:49
@laurynasp:matrix.orglaurynasp* Out of curiosity, those who run faster-shisper, what hardware do you use? 1 Cloud 2. Raspberry 3. desktop pc 4. some dedicated hardware jetson, google coral etc07:46:58
@laurynasp:matrix.orglaurynasp *

Out of curiosity, those who run faster-shisper, what hardware do you use?

  1. Cloud
  2. Raspberry
  3. desktop pc
  4. some dedicated hardware jetson, google coral etc
07:47:12
@laurynasp:matrix.orglaurynasp based on journalctl -u wyoming-faster-whisper.., it takes
~30s on pi 4B, but surprisingly it takes ~4min on my desktop Ryzen 7 2700 (ryzen runs old nixos version, but I would be suprisied if older software would have such a huge impact)
07:47:21
@laurynasp:matrix.orglaurynasp *

Out of curiosity, those who run faster-whisper, what hardware do you use?

  1. Cloud
  2. Raspberry
  3. desktop pc
  4. some dedicated hardware jetson, google coral etc
07:47:47
@laurynasp:matrix.orglaurynasp * based on journalctl -u wyoming-faster-whisper.., to process simple queries like "what time is it?" it takes
~30s on pi 4B, but surprisingly it takes ~4min on my desktop Ryzen 7 2700 (ryzen runs old nixos version, but I would be suprisied if older software would have such a huge impact)
07:48:56

Show newer messages


Back to Room ListRoom Version: 6