control mosquitto version and data dir
This commit is contained in:
parent
718b0aa8fc
commit
069008dea5
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ in {
|
||||||
networking.firewall.allowedTCPPorts = [port 1883 8089];
|
networking.firewall.allowedTCPPorts = [port 1883 8089];
|
||||||
services.mosquitto = {
|
services.mosquitto = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
package = inputs.nixpkgs-nixos-unstable.legacyPackages."${system}".mosquitto;
|
||||||
|
dataDir = "/data/mosquitto";
|
||||||
listeners = [
|
listeners = [
|
||||||
{
|
{
|
||||||
port = 1883;
|
port = 1883;
|
||||||
|
|
Loading…
Reference in a new issue