2022-07-30 22:44:20 +00:00
|
|
|
let
|
|
|
|
secret = import ../../secret/container/webserver.nix;
|
|
|
|
in
|
2022-07-30 22:36:06 +00:00
|
|
|
{
|
|
|
|
environment.usr."local/etc/container-webserver/mosquitto/mosquitto.conf".text = ''
|
|
|
|
listener 1883
|
|
|
|
password_file /mosquitto/config/users.conf
|
|
|
|
'';
|
2022-07-30 22:44:20 +00:00
|
|
|
|
|
|
|
environment.usr."local/etc/container-webserver/mosquitto/users.conf".text = secret.container.webserver.mosquitto.users;
|
2022-07-30 22:36:06 +00:00
|
|
|
}
|