shack/mqtt: update permissions

This commit is contained in:
makefu 2019-07-17 10:55:36 +02:00
parent 828d2fd14a
commit 8e0c6fc8c5
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 10 additions and 3 deletions

View File

@ -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 = {

View File

@ -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;
}; };