mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
nixos/zigbee2mqtt: no longer pass dataDir to package
This commit is contained in:
parent
0ba337725e
commit
200c36255f
@ -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 New Issue
Block a user