shack/mqtt: update permissions
This commit is contained in:
parent
828d2fd14a
commit
8e0c6fc8c5
krebs/2configs
|
@ -34,6 +34,13 @@ with import <stockholm/lib>;
|
|||
rxvt_unicode.terminfo
|
||||
];
|
||||
|
||||
i18n = {
|
||||
consoleKeyMap = "us";
|
||||
defaultLocale = lib.mkForce "C";
|
||||
};
|
||||
|
||||
|
||||
|
||||
programs.ssh.startAgent = false;
|
||||
|
||||
services.openssh = {
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
{
|
||||
network.firewall.allowedTCPPorts = [ 1883 ];
|
||||
network.firewall.allowedUDPPorts = [ 1883 ];
|
||||
networking.firewall.allowedTCPPorts = [ 1883 ];
|
||||
networking.firewall.allowedUDPPorts = [ 1883 ];
|
||||
services.mosquitto = {
|
||||
enable = true;
|
||||
host = "0.0.0.0";
|
||||
users = {};
|
||||
# TODO: secure that shit
|
||||
aclExtraConf = ''
|
||||
pattern readwrite /#
|
||||
pattern readwrite #
|
||||
'';
|
||||
allowAnonymous = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue