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
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
Martin Weinelt
95856e526e
nixos/homeassistant-satellite: init
2023-10-20 17:26:10 +02:00
Martin Weinelt
d042a29613
Merge pull request #253764 from linj-fork/fix-ping-wrapper
...
nixos/network-interfaces: stop wrapping ping with cap_net_raw
2023-10-20 00:57:55 +02:00
Gary Guo
d7d1894a36
nixos/home-assistant: use runCommandLocal for configuration.yaml
...
It's a quite trivial operation, no need to query substitutors.
2023-10-17 23:27:46 +01:00
Martin Weinelt
9a20605910
nixos/home-assistant: update bluetooth integrations
2023-10-05 05:09:55 +02:00
Lin Jian
759ec1113d
nixos/network-interfaces: stop wrapping ping with cap_net_raw
...
From systemd 243 release note[1]:
This release enables unprivileged programs (i.e. requiring neither
setuid nor file capabilities) to send ICMP Echo (i.e. ping) requests
by turning on the "net.ipv4.ping_group_range" sysctl of the Linux
kernel for the whole UNIX group range, i.e. all processes.
So this wrapper is not needed any more.
See also [2] and [3].
This patch also removes:
- apparmor profiles in NixOS for ping itself and the wrapped one
- other references for the wrapped ping
[1]: 8e2d9d40b3/NEWS (L6457-L6464)
[2]: https://github.com/systemd/systemd/pull/13141
[3]: https://fedoraproject.org/wiki/Changes/EnableSysctlPingGroupRange
2023-09-21 16:52:16 +08:00
Janik
27eedb5601
Merge pull request #246201 from n0emis/zigbee2mqtt-groups-file
2023-09-09 20:19:50 +02:00
Martin Weinelt
822c33c217
nixos/home-assistant: allow bluetooth for gardena_bluetooth component
2023-08-02 22:42:50 +02:00
Ember Keske
ba2f38d684
nixos/zigbee2mqtt: persist groups set via ui
2023-07-30 16:48:29 +02:00
Nathan Bijnens
ffc3eb7c16
ebusd: new module
2023-07-21 18:22:46 +09:00
chayleaf
4d4c73ff78
treewide: update path to getent
2023-07-12 02:32:23 +07:00
Martin Weinelt
6d934088ea
nixos/home-assistant: update bluetooth components
2023-05-04 07:33:32 +02:00
Linus Heckemann
b14aded48a
Merge pull request #222617 from oddlama/esphome
...
nixos/esphome: init module
2023-04-18 06:45:40 +02:00
Robert Schütz
2b81862da7
Merge pull request #224908 from SuperSandro2000/home-assistant-drv
...
nixos/home-assistant: fix infinite recursion when derivations are used in config
2023-04-06 07:56:47 -07:00
Martin Weinelt
e89108897d
nixos/home-assistant: Allow serial access for otbr
2023-04-06 13:43:55 +02:00