1
0
Fork 0

webserver: Add mosquitto config

This commit is contained in:
Daniel Kempkens 2022-07-31 00:44:20 +02:00
parent bf0732c6ae
commit e7db9d3f69
2 changed files with 5 additions and 0 deletions

View file

@ -1,6 +1,11 @@
let
secret = import ../../secret/container/webserver.nix;
in
{
environment.usr."local/etc/container-webserver/mosquitto/mosquitto.conf".text = ''
listener 1883
password_file /mosquitto/config/users.conf
'';
environment.usr."local/etc/container-webserver/mosquitto/users.conf".text = secret.container.webserver.mosquitto.users;
}

Binary file not shown.