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

18 lines
352 B
Nix
Raw Normal View History

2022-07-31 10:23:30 +00:00
{ secret, ... }:
2022-07-30 22:36:06 +00:00
{
2022-07-30 23:13:14 +00:00
environment.etc."container-webserver/mosquitto/mosquitto.conf" = {
text = ''
listener 1883
password_file /mosquitto/config/users.conf
'';
2022-07-30 22:44:20 +00:00
2022-07-30 23:13:14 +00:00
mode = "0644";
};
environment.etc."container-webserver/mosquitto/users.conf" = {
text = secret.container.webserver.mosquitto.users;
mode = "0644";
};
2022-07-30 22:36:06 +00:00
}