nixos/zigbee2mqtt: no longer pass dataDir to package
This commit is contained in:
parent
0ba337725e
commit
200c36255f
1 changed files with 3 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue