Add mqtt server (mosquitto)

The config was based on the exsisting mosquitto setup.
This commit is contained in:
chris 2024-06-10 15:38:48 +02:00
commit b30952a049
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
5 changed files with 81 additions and 0 deletions

View file

@ -0,0 +1,20 @@
{ ... }:
{
networking = {
interfaces.net0 = {
ipv4.addresses = [ {
address = "10.31.208.14";
prefixLength = 23;
} ];
};
defaultGateway = "10.31.208.1";
nameservers = [
"10.31.210.1"
];
};
systemd.network.links."10-net0" = {
matchConfig.MACAddress = "BC:24:11:48:85:73";
linkConfig.Name = "net0";
};
}