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