webserver: Add mosquitto config
This commit is contained in:
parent
bf0732c6ae
commit
e7db9d3f69
2 changed files with 5 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
|||
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;
|
||||
}
|
||||
|
|
BIN
secret/container/webserver.nix
Normal file
BIN
secret/container/webserver.nix
Normal file
Binary file not shown.
Loading…
Reference in a new issue