11 lines
329 B
Nix
11 lines
329 B
Nix
let
|
|
secret = import ../../../secret/container/webserver.nix;
|
|
in
|
|
{
|
|
environment.etc."container-webserver/mosquitto/mosquitto.conf".text = ''
|
|
listener 1883
|
|
password_file /mosquitto/config/users.conf
|
|
'';
|
|
|
|
environment.etc."container-webserver/mosquitto/users.conf".text = secret.container.webserver.mosquitto.users;
|
|
}
|