enable mosquitto
This commit is contained in:
parent
3c3f2c7925
commit
35a60ad122
|
@ -24,4 +24,11 @@
|
||||||
|
|
||||||
# Additional packages
|
# Additional packages
|
||||||
environment.systemPackages = with pkgs; [];
|
environment.systemPackages = with pkgs; [];
|
||||||
|
|
||||||
|
services.mosquitto = {
|
||||||
|
enable = true;
|
||||||
|
port = 1883;
|
||||||
|
};
|
||||||
|
|
||||||
|
networking.firewall.allowedTCPPorts = [ config.services.mosquitto.port ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue