11 lines
346 B
Nix
11 lines
346 B
Nix
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;
|
|
}
|