summaryrefslogtreecommitdiffstats
path: root/krebs/2configs
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-07-17 10:55:36 +0200
committermakefu <github@syntax-fehler.de>2019-07-17 10:55:36 +0200
commit8e0c6fc8c5a4d76f6485ee317dc91d5cfffe70f6 (patch)
treedcad8f1286f7f0825c3dbe0c5b63caca179758bc /krebs/2configs
parent828d2fd14ac2e1545088a734f918cf85071d0116 (diff)
shack/mqtt: update permissions
Diffstat (limited to 'krebs/2configs')
-rw-r--r--krebs/2configs/default.nix7
-rw-r--r--krebs/2configs/shack/mqtt.nix6
2 files changed, 10 insertions, 3 deletions
diff --git a/krebs/2configs/default.nix b/krebs/2configs/default.nix
index fafcd72c3..8771c0e1d 100644
--- a/krebs/2configs/default.nix
+++ b/krebs/2configs/default.nix
@@ -34,6 +34,13 @@ with import <stockholm/lib>;
rxvt_unicode.terminfo
];
+ i18n = {
+ consoleKeyMap = "us";
+ defaultLocale = lib.mkForce "C";
+ };
+
+
+
programs.ssh.startAgent = false;
services.openssh = {
diff --git a/krebs/2configs/shack/mqtt.nix b/krebs/2configs/shack/mqtt.nix
index 5e7a1af7c..8e5438db2 100644
--- a/krebs/2configs/shack/mqtt.nix
+++ b/krebs/2configs/shack/mqtt.nix
@@ -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;
};