1
0
Fork 0
dotfiles/container/webserver/config/mosquitto.nix

12 lines
346 B
Nix
Raw Normal View History

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
}