nixos/zigbee2mqtt: no longer pass dataDir to package

This commit is contained in:
Simon Weber 2021-12-05 17:49:52 +01:00
parent 0ba337725e
commit 200c36255f

View File

@ -22,13 +22,9 @@ in
package = mkOption {
description = "Zigbee2mqtt package to use";
default = pkgs.zigbee2mqtt.override {
dataDir = cfg.dataDir;
};
default = pkgs.zigbee2mqtt;
defaultText = literalExpression ''
pkgs.zigbee2mqtt {
dataDir = services.zigbee2mqtt.dataDir
}
pkgs.zigbee2mqtt
'';
type = types.package;
};
@ -41,7 +37,7 @@ in
settings = mkOption {
type = format.type;
default = {};
default = { };
example = literalExpression ''
{
homeassistant = config.services.home-assistant.enable;