Felix Buehler
5eba86d6f2
nixos/services.zwave-js: remove with lib;
2024-08-30 00:30:55 +02:00
Felix Buehler
5645a33f6a
nixos/services.zigbee2mqtt: remove with lib;
2024-08-30 00:30:54 +02:00
Felix Buehler
e5f14949de
nixos/services.matter-server: remove with lib;
2024-08-30 00:30:54 +02:00
Robert Schütz
75ad0af1b6
nixos/home-assistant: set WorkingDirectory
2024-08-26 09:39:06 -07:00
Robert Schütz
a5f8d3fe02
nixos/home-assistant: customComponents must use buildHomeAssistantComponent
2024-07-26 07:33:40 -07:00
éclairevoyant
aeee4fc133
treewide: replace mkPackageOptionMD with mkPackageOption
2024-06-26 23:05:42 -04:00
Kacper Koniuszy
7b81a213cf
nixos/home-assistant: fix symlinking multi-manifest custom components
...
frenck/spook includes a second manifest for an integration. The current
copyCustomComponents script assumed that only one component directory
will be found, which in this case resulted in a malformed symlink
destination:
lrwxrwxrwx 1 hass hass 224 Jun 23 17:23 spook -> '/nix/store/r41ics22zs578avzqf7x86plcgn2q71h-python3.12-frenck-spook-v3.0.1/custom_components/spook/integrations/spook_inverse'$'\n''/nix/store/r41ics22zs578avzqf7x86plcgn2q71h-python3.12-frenck-spook-v3.0.1/custom_components/spook'
2024-06-23 22:03:37 +02:00
Silvan Mosberger
6c42e8745a
Merge pull request #309517 from bobrippling/fix/ebusd-args
...
Fix ebusd service argument passing
2024-05-24 23:25:28 +02:00
Martin Weinelt
aee13d3d9a
nixos/wyoming*: depend on network-online.target
...
Ordering it after network-online.target only makes sense, if it actually
gets requested.
2024-05-23 10:43:33 +02:00
Rob Pilling
5458b62cf7
ebusd: fix argument passing, separate using an equals (=
)
2024-05-22 07:58:26 +01:00
Rob Pilling
aa10bacb81
nixos/ebusd: clean up module
2024-05-03 08:34:17 +01:00
Rob Pilling
8210150764
Merge branch 'upstream/master' into feat/ebusd-log-none
...
Conflicts:
nixos/modules/services/home-automation/ebusd.nix
2024-04-29 22:33:23 +01:00
Pierre Penninckx
c7b71168ce
nixos/faster-whisper: set model download path ( #307664 )
...
Fix inspired from this issue: https://github.com/rhasspy/wyoming-faster-whisper/issues/27
2024-04-29 22:08:50 +02:00
Martin Weinelt
cfa475854a
nixos/evcc: restart on failure
2024-04-24 12:36:21 +02:00
stuebinm
6afb255d97
nixos: remove all uses of lib.mdDoc
...
these changes were generated with nixq 0.0.2, by running
nixq ">> lib.mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> mdDoc[remove] Argument[keep]" --batchmode nixos/**.nix
nixq ">> Inherit >> mdDoc[remove]" --batchmode nixos/**.nix
two mentions of the mdDoc function remain in nixos/, both of which
are inside of comments.
Since lib.mdDoc is already defined as just id, this commit is a no-op as
far as Nix (and the built manual) is concerned.
2024-04-13 10:07:35 -07:00
Bjørn Forsman
a29010fe79
nixos: improve many 'enable' descriptions
2024-04-09 07:10:17 +02:00
Martin Weinelt
b84f4bb54d
nixos/wyoming: move into home-automation category
2024-03-29 03:04:44 +01:00
Martin Weinelt
e0b4ab1a31
nixos/wyoming/satellite: init
2024-03-29 03:04:44 +01:00
Martin Weinelt
eb4113b79c
nixos/homeassistant-satellite: remove in favor of wyoming-satellite
...
The upstream repository was archived mid december 2023.
2024-03-29 03:04:43 +01:00
Rob Pilling
6f520b273e
nixos/ebusd: permit "none" as a log level
...
This allows us to use the existing [`"none"` in the source]
[`"none"` in the source]: 38a6b7bae9/src/lib/utils/log.cpp (L50)
2024-03-23 10:59:15 +00:00
Yt
492678349b
Merge pull request #292412 from bobrippling/fix/ebusd-logging
...
ebusd: fix logging overrides
2024-03-02 11:46:35 +00:00
Rob Pilling
979ae4c6e5
nixos/ebusd: fix logging overrides
...
This fixes #292131 - currently we specify --log=all:<level>, which
overrides all other log areas. Specifying this first allows the
further log areas to be specified without being replaced.
2024-02-29 21:02:26 +00:00
Matt Leon
c0846f900a
matter-server: add nixos service module
...
New module to run the python-matter-server executable as a sandboxed
system service.
2024-02-13 19:17:53 -05:00
Martin Weinelt
055a8f709a
nixos/home-assistant: always add dependencies for default integrations
...
These are loaded unconditionally during bootstrap, and home-assistant
will now fail to start, if these aren't provided.
2024-02-11 04:09:52 +01:00
Martin Weinelt
3d67816966
home-assistant: 2024.1.6 -> 2024.2.1
...
https://www.home-assistant.io/blog/2024/02/07/release-20242/
https://github.com/home-assistant/core/releases/tag/2024.2.1
2024-02-10 04:15:41 +01:00
Sandro Jäckel
1b3f92087b
nixos/govee2mqtt: init
2024-02-07 10:39:23 +01:00
Ryan Horiguchi
17243e6a84
nixos/esphome: add option to use ping to check online status of devices
2024-01-26 19:39:49 +01:00
Jade Lovelace
fe474ed61a
nixos: fix remaining services for network-online dep fix
2024-01-19 00:11:34 -08:00
Jade Lovelace
6c5ab28fce
nixos: fix a bunch of services missing dep on network-online.target
...
This was done by generating a truly hilarious configuration:
rg 'services\.[^.]+\.enable\t' opts-tags | cut -f1 > allonconfig.nix
The following were not tested due to other evaluation errors. They
should probably be manually audited.
services.amule
services.castopod
services.ceph
services.chatgpt-retrieval-plugin
services.clamsmtp
services.clight
services.dante
services.dex
services.discourse
services.dwm-status
services.engelsystem
services.foundationdb
services.frigate
services.frp
services.grocy
services.guacamole-client
services.hedgedoc
services.home-assistant
services.honk
services.imaginary
services.jitsi-meet
services.kerberos_server
services.limesurvey
services.mastodon
services.mediawiki
services.mobilizon
services.moodle
services.mosquitto
services.nextcloud
services.nullmailer
services.patroni
services.pfix-srsd
services.pgpkeyserver-lite
services.postfixadmin
services.roundcube
services.schleuder
services.self-deploy
services.slskd
services.spacecookie
services.statsd
services.step-ca
services.sympa
services.tsmBackup
services.vdirsyncer
services.vikunja
services.yandex-disk
services.zabbixWeb
2024-01-19 00:11:34 -08:00
Sandro Jäckel
d4c622ec5f
nixos/home-assistant: fix removing of uninstalled custom components
...
Before components was not an array and the first loop did never loop
through all entries but through the entire output of find without
splitting by new line.
Tested by copying the preStart script out of the nix store, doing the
change and observing that now the custom-components directory is indeed
being cleaned up after removing a custom component.
2023-12-20 05:00:05 +01:00
Martin Weinelt
ebfca42b8b
Merge pull request #272576 from NixOS/home-assistant
...
home-assistant: 2023.11.3 -> 2023.12.0
2023-12-10 14:51:43 +01:00
Zhong Jianxin
b097e95193
nixos/home-automation: really fix lovelace card entrypoint
2023-12-10 19:12:55 +08:00
Martin Weinelt
04c2893d58
nixos/home-assistant: fix broken reference in option example
2023-12-09 17:51:13 +01:00
Martin Weinelt
0645ff3b62
nixos/home-assistant: update bluetooth components
...
eq3btsmart was removed in 2023.12.0.
2023-12-09 17:51:12 +01:00
Martin Weinelt
d809a6f9c3
nixos/home-automation: fix lovelace card entrypoint
...
Only append the .js extension to the card pname, not to the specified
entrypoint.
2023-12-06 04:35:35 +01:00
Martin Weinelt
b908dc8654
Merge pull request #271785 from SuperSandro2000/hass-custom-lovelace
...
nixos/home-assistant: fix custom lovelace module loading
2023-12-06 04:10:34 +01:00
Sandro Jäckel
663dbfb82d
nixos/home-assistant: fix custom lovelace module loading
...
based on https://community.home-assistant.io/t/ui-lovelace-yaml-and-custom-resources/240178/4
Tested on a home-assistant server and before the card was not loaded at all.
After this it threw an error that my config is wrong.
2023-12-03 00:53:59 +01:00
Sandro Jäckel
57bfbc781c
nixos/home-assistant: fix error when switching between writable and none writable lovelace config
...
error message before was:
cp: not writing through dangling symlink '/var/lib/hass/ui-lovelace.yaml'
2023-12-02 23:04:48 +01:00
h7x4
79d3d59f58
treewide: replace mkPackageOptionMD
with mkPackageOption
2023-11-30 19:03:14 +01:00
Weijia Wang
feeae486de
Merge pull request #261702 from h7x4/replace-mkoption-with-mkpackageoption
...
treewide: use `mkPackageOption`
2023-11-30 02:49:30 +01:00
Felix Buehler
9f563e21ac
nixos/esphome: fix bwrap
2023-11-28 00:48:30 +01:00
h7x4
0a37316d6c
treewide: use mkPackageOption
...
This commit replaces a lot of usages of `mkOption` with the package
type, to be `mkPackageOption`, in order to reduce the amount of code.
2023-11-27 01:28:36 +01:00
Martin Weinelt
f30192ae6f
nixos/home-assistant: add customComponents support
...
Allows passing custom component packages, that get installed into
home-assistant's state directory.
Python depedencies, that are propagated from the custom component
get passed into `extraPackages`, so they are available to
home-assistant at runtime.
This is implemented in a way, that allows coexistence with custom
components not managed through the NixOS module.
2023-11-10 22:00:36 +01:00
Martin Weinelt
9a941c58e5
nixos/home-assistant: add customLovelaceModules support
...
Allows the installation of custom lovelace modules, that can inject
css/js into the frontend and offer a wide variety of widgets.
2023-11-10 22:00:30 +01:00
Graham Bennett
b2fccae809
zwave-js: module init, zwave-js-server: init at 1.33.0
...
Co-authored-by: Martin Weinelt <mweinelt@users.noreply.github.com>
Co-authored-by: h7x4 <h7x4@nani.wtf>
2023-11-02 08:21:09 +00:00
Martin Weinelt
0b2ab262bc
home-assistant: 2023.10.5 -> 2023.11.0
...
https://www.home-assistant.io/blog/2023/11/01/release-202311/
2023-11-01 22:28:12 +01:00
Lin Jian
2a27bf588f
Merge pull request #261733 from nbdd0121/hass
...
nixos/home-assistant: use runCommandLocal for configuration.yaml
2023-10-26 02:23:21 +08:00
Martin Weinelt
3244b1eaef
Merge pull request #262678 from plumelo/feat/esphome-proc-subset
...
esphome: remove ProcSubset from serviceConfig
2023-10-23 00:46:21 +02:00
Martin Weinelt
410ccec99c
Merge pull request #261931 from mweinelt/homeassistant-satellite
...
homeassistant-satellite: init at 2.3.0
2023-10-22 16:53:03 +02:00
Meghea Iulian
bff068e514
esphome: remove ProcSubset from serviceConfig
...
Remove ProcSubset from esphome serviceConfig because esphome/bwrap needs to
access it.
According to
https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#ProcSubset=
ProcSubset isn't even recommended for most programs.
Fixes #262674
2023-10-22 17:09:00 +03:00