nixos/zigbee2mqtt: revert systemd unit to simple type

A recent release added systemd notify support, so I migrated our unit
towards that. The NixOS test did not reveal that the unit would not fully
activate.

Reverts: 165326d2c (partially)
Closes: #286977
This commit is contained in:
Martin Weinelt 2024-02-07 13:49:17 +01:00
parent 5ef42fcd84
commit 02324756dd
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -71,7 +71,6 @@ in
after = [ "network.target" ];
environment.ZIGBEE2MQTT_DATA = cfg.dataDir;
serviceConfig = {
Type = "notify";
ExecStart = "${cfg.package}/bin/zigbee2mqtt";
User = "zigbee2mqtt";
Group = "zigbee2mqtt";