Commit graph

151 commits

Author SHA1 Message Date
Wolfgang Walther aefcb0d50d
treewide: run nixfmt 1.0.0 2025-07-24 14:58:18 +02:00
eV 731f374fc2 nixos/wyoming-satellite: fix override to use dependencies
(cherry picked from commit 7ca9f21361)
2025-06-02 18:27:49 +00:00
Robbert Gurdeep Singh 06a3db7552
nixos/wyoming-piper: allow w+x for onnxruntime (#402111)
Before this change, running piper would fail with

> cannot enable executable stack as shared object requires

because the stack is marked rwx on newer libonnxruntime versions.
2025-04-26 22:36:21 +02:00
Martin Weinelt b80382cf91
nixos/evcc: allow avahi discovery of eebus devices (#395686) 2025-04-26 15:27:38 +02:00
Stefan Wiehler 44dd157b6f nixos/home-assistant: add custom components to used components query
There should be no need to add custom components without YAML configuration to
extraComponents for systemd service modifications to become effective (e.g.
serial access).
2025-04-24 19:26:46 +02:00
Stefan Wiehler 27eab49a9e home-assistant-custom-components.benqprojector: init at 0.1.3 2025-04-24 19:26:46 +02:00
Maximilian Staab bef6e42242 nixos/evcc: allow avahi discovery of eebus devices
required for some wallboxes
2025-04-03 09:17:47 +02:00
Silvan Mosberger 374e6bcc40 treewide: Format all Nix files
Format all Nix files using the officially approved formatter,
making the CI check introduced in the previous commit succeed:

  nix-build ci -A fmt.check

This is the next step of the of the [implementation](https://github.com/NixOS/nixfmt/issues/153)
of the accepted [RFC 166](https://github.com/NixOS/rfcs/pull/166).

This commit will lead to merge conflicts for a number of PRs,
up to an estimated ~1100 (~33%) among the PRs with activity in the past 2
months, but that should be lower than what it would be without the previous
[partial treewide format](https://github.com/NixOS/nixpkgs/pull/322537).

Merge conflicts caused by this commit can now automatically be resolved while rebasing using the
[auto-rebase script](8616af08d9/maintainers/scripts/auto-rebase).

If you run into any problems regarding any of this, please reach out to the
[formatting team](https://nixos.org/community/teams/formatting/) by
pinging @NixOS/nix-formatting.
2025-04-01 20:10:43 +02:00
Rob Pilling 329fdc5763 ebusd: update to 24.1 and add new log facility option ("device") 2025-03-21 13:20:14 +00:00
Arne Keller 9b62d5e280
nixos/zwave-js-ui: Add chown to allowed syscalls (#380999) 2025-03-10 08:47:46 +01:00
Martin Weinelt e5d70cfec2
nixos/matter-server: fix permission denied error in 7.0.1 (#384651) 2025-03-09 21:32:31 +01:00
Matt Leon b4f4971b6a
nixos/matter-server: fix permission denied error in initialization with v7.0.1
Signed-off-by: Matt Leon <ml@mattleon.com>
2025-03-08 09:34:46 -05:00
Martin Weinelt 067732921f
nixos/evcc: support passing secrets with envsubst
and apply some newer best practices.
2025-03-07 10:08:55 +01:00
Glib Shpychka 5e2119f033
nixos/wyoming-piper: Remove range validation for numerical options (#384315)
Remove range validation for numerical options
2025-03-04 07:43:39 +01:00
Chris Dombroski 63157e34d8 nixos/zwave-js-ui: Add chown to allowed syscalls
Closes: #379850
2025-03-03 21:34:09 -05:00
Martin Weinelt 99eabc0ab3
zigbee2mqtt_2: init at 2.1.1
https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.0.0
https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.1.0
https://github.com/Koenkk/zigbee2mqtt/releases/tag/2.1.1
2025-02-21 14:14:41 +01:00
Bjørn Forsman 92ea914782 nixos/zigbee2mqtt: set StateDirectory
So that the directory is guaranteed to exist at service startup. This
fixes the scenario where the service is stopped, the state directory
removed and the service started again (for testing / starting fresh).

Set StateDirectoryMode to match the existing directory permissions.
2025-02-16 15:52:37 +01:00
Robert Schütz 6e2dc738a2
nixos/home-assistant: use full path for option in description (#380127) 2025-02-12 15:35:34 -08:00
dish 1d57cecb74 nixos/evcc: fix documentation link formatting 2025-02-12 21:03:21 +01:00
Sandro a7cb5b1ba5
nixos/home-assistant: use full path for option in description 2025-02-07 17:10:35 +01:00
Robert Schütz da7138684b nixos/home-assistant: declarative blueprints 2025-02-03 10:54:30 -08:00
Peder Bergebakken Sundt 953f72e76e nixos/*: tag manpage references 2025-01-27 02:47:01 +01:00
Martin Weinelt 14ce74a5ef
nixos/wyoming/piper: drop download directory
The download directory must be one of the data directories, but if we do
not set it the first data directory will be used as the data directory.
2025-01-24 18:28:31 +01:00
Martin Weinelt 47eda6dab7
nixos/wyoming/faster-whisper: drop download directory
The download directory must be one of the data directories, but if we do
not set it the first data directory will be used as the data directory.
2025-01-24 18:27:13 +01:00
Martin Weinelt 232d46e06e
nixos/wyoming/openwakeword: fix eval
Incomplete bracketing led to a partial application of the concatMap
function, which broke the evaluation of this module.
2025-01-24 13:47:33 +01:00
happysalada 32d96956a6 nixos/wyoming-faster-whisper: fix module
prevent the error
expected a list but got a string ""
2025-01-18 06:21:11 -05:00
Martin Weinelt 31680c6fb4
zwave-js-ui: init at 9.27.8; nixos/zwave-js-ui: init module (#336623) 2025-01-17 18:13:17 +01:00
Martin Weinelt f1ee91a5ba
nixos/home-assistant: update unit_system options (#374025) 2025-01-16 13:06:20 +01:00
Martin Weinelt da09788222
wyoming-faster-whisper: 2.2.0 -> 2.4.0; wyoming-piper: 1.5.0 -> 1.5.2; python312Packages.wyoming: 1.5.4 -> 1.6.0 (#364274) 2025-01-15 14:02:56 +01:00
Martin Weinelt 9687eb77fe
nixos/home-assistant: update unit_system options
Closes: #373674
2025-01-15 12:24:15 +01:00
Martin Weinelt 0ec8d2ab8e
nixos/wyoming-piper: refresh module 2025-01-14 04:38:08 +01:00
Martin Weinelt 0e327a55fe
nixos/wyoming-openwakeword: refresh module 2025-01-14 04:38:08 +01:00
Martin Weinelt 94fb608524
nixos/wyoming-faster-whisper: refresh and update for 2.4.0
- Refresh the description for models to include all possible options
- Add option for the initial prompt
- Allow selecting Cantonese (yue) as language
- Change the default beam size to 0 (auto)
- Rework the commandline
2025-01-14 02:58:44 +01:00
Chris Dombroski d7ba3b54d8 nixos/zwave-js-ui: init module
Provides systemd service and allows configuration of data directory
2025-01-13 16:21:23 -05:00
Martin Weinelt c30df4fce5
nixos/home-assistant: add support for amshan (#355055) 2025-01-13 17:15:24 +01:00
Bjørn Forsman bbcb27714f nixos/home-assistant: allow amshan to access serial ports
Separate it from the first part of the list, because that part is
updated mechanically.
2025-01-13 16:05:57 +01:00
Jana Steuernagel d9ff154b74 nixos/wyoming-faster-whisper: remove ProcSubset protection
ProcSubset protection blocks faster-whisper from parsing /proc/cpuinfo
This results in a fallback to a suboptimal processing method, causing
processing times to be unnecessarily long
2025-01-13 14:37:50 +01:00
Martin Weinelt 2a7d47f814
nixos/matter-server: allow AF_UNIX sockets for dbus connections
This is necessary for establishing bluetooth connections over dbus and
bluez.
2024-12-29 19:17:48 +01:00
nicoo f6c5531461
nixos: Don't set !allowSubstitutes (#314664)
It is set by `runCommandLocal` and prevents fetching the build output
from `cache.nixos.org` or another trusted substituter.
2024-12-12 18:26:24 +00:00
Moritz Vogel 0c1feac497 nixos/ebusd: fix device access 2024-12-11 10:50:54 +01:00
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Philip Taron 0311f6c40e
treewide/nixos: remove with lib; part 5 (#335647) 2024-12-09 16:04:21 -08:00
Martin Weinelt ee59cca0f1
nixos/home-assistant: add reference to signal handling section 2024-12-09 19:00:29 +01:00
Martin Weinelt 28b8aa8c4c
nixos/home-assistant: support extraArgs 2024-12-09 19:00:28 +01:00
Martin Weinelt 179fd97dae
nixos/home-assistant: update component hardening lists 2024-12-09 19:00:28 +01:00
Martin Weinelt 00b9d1f754
nixos/home-assistant: replace global with lib 2024-12-09 19:00:27 +01:00
Felix Buehler d013bf0d55 nixos/services.evcc: remove with lib; 2024-12-08 13:21:53 +01:00
Felix Buehler 9709ae3d48 nixos/services.ebusd: remove with lib; 2024-12-08 13:21:53 +01:00
Wolfgang Walther 749a6fe1ad
nixos/zigbee2mqtt: remove renamed-option warning
This was planned for 21.11, so let's follow through.
2024-11-22 18:30:12 +01:00
Martin Weinelt ee595b709e
nixos/wyoming-faster-whisper: update CUDA device allowlist
This list can change between driver versions, and it requires an update
now to find my GPU.
2024-11-18 03:21:43 +01:00