summaryrefslogtreecommitdiffstats
path: root/lass/2configs/weechat.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2017-10-03 18:48:18 +0200
committertv <tv@krebsco.de>2017-10-03 18:48:18 +0200
commitd567c2c21e0fe029a069edda8eda28cd24771511 (patch)
treebcc1ea51b71b22c18ac653a1b4aded927e6c173e /lass/2configs/weechat.nix
parent32a8fc0396769946242ef8c1a48fb64ae572e0db (diff)
parent902a65304d1e07ce5a7192a0403d6fa1bed1f135 (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/2configs/weechat.nix')
-rw-r--r--lass/2configs/weechat.nix14
1 files changed, 10 insertions, 4 deletions
diff --git a/lass/2configs/weechat.nix b/lass/2configs/weechat.nix
index 1e5f2d177..d5496ac09 100644
--- a/lass/2configs/weechat.nix
+++ b/lass/2configs/weechat.nix
@@ -13,13 +13,19 @@ in {
uid = genid "chat";
useDefaultShell = true;
createHome = true;
- openssh.authorizedKeys.keys = [
- config.krebs.users.lass.pubkey
- config.krebs.users.lass-shodan.pubkey
- config.krebs.users.lass-icarus.pubkey
+ openssh.authorizedKeys.keys = with config.krebs.users; [
+ lass.pubkey
+ lass-shodan.pubkey
+ lass-icarus.pubkey
+ lass-android.pubkey
];
};
+ # mosh
+ krebs.iptables.tables.filter.INPUT.rules = [
+ { predicate = "-p udp --dport 60000:61000"; target = "ACCEPT";}
+ ];
+
#systemd.services.chat = {
# description = "chat environment setup";
# after = [ "network.target" ];