summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2017-03-23 15:17:32 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2017-03-23 15:17:32 +0100
commit6574a3ce8407a7d0ff66613baf2545e768549e09 (patch)
tree98197ea9126e24db1bec1b38ef285f533dd82088
parentec886e66c1caaa6af9dbbbe469a38873e00fee31 (diff)
downloadnixos-6574a3ce8407a7d0ff66613baf2545e768549e09.tar
nixos-6574a3ce8407a7d0ff66613baf2545e768549e09.tar.gz
nixos-6574a3ce8407a7d0ff66613baf2545e768549e09.tar.bz2
nixos-6574a3ce8407a7d0ff66613baf2545e768549e09.tar.xz
nixos-6574a3ce8407a7d0ff66613baf2545e768549e09.zip
Disco and socks proxy
-rw-r--r--ymir.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/ymir.nix b/ymir.nix
index a3f6ff29..39d6641f 100644
--- a/ymir.nix
+++ b/ymir.nix
@@ -15,7 +15,7 @@ let
15 }; 15 };
16 myDomains = ["dirty-haskell.org" "www.dirty-haskell.org" "lists.dirty-haskell.org" "l.dirty-haskell.org" 16 myDomains = ["dirty-haskell.org" "www.dirty-haskell.org" "lists.dirty-haskell.org" "l.dirty-haskell.org"
17 "files.141.li" "f.141.li" "ymir.141.li" "141.li" "www.141.li" "lists.141.li" "l.141.li" "bragi.141.li" 17 "files.141.li" "f.141.li" "ymir.141.li" "141.li" "www.141.li" "lists.141.li" "l.141.li" "bragi.141.li"
18 "ymir.xmpp.li" "xmpp.li" "www.xmpp.li" "lists.xmpp.li" "l.xmpp.li" 18 "ymir.xmpp.li" "xmpp.li" "www.xmpp.li" "lists.xmpp.li" "l.xmpp.li" "muc.xmpp.li" "proxy.xmpp.li"
19 "files.yggdrasil.li" "f.yggdrasil.li" "ymir.yggdrasil.li" "git.yggdrasil.li" "www.yggdrasil.li" "yggdrasil.li" "lists.yggdrasil.li" "l.yggdrasil.li" "bragi.yggdrasil.li" 19 "files.yggdrasil.li" "f.yggdrasil.li" "ymir.yggdrasil.li" "git.yggdrasil.li" "www.yggdrasil.li" "yggdrasil.li" "lists.yggdrasil.li" "l.yggdrasil.li" "bragi.yggdrasil.li"
20 "files.praseodym.org" "f.praseodym.org" "ymir.praseodym.org" "praseodym.org" "www.praseodym.org" "lists.praseodym.org" "l.praseodym.org" 20 "files.praseodym.org" "f.praseodym.org" "ymir.praseodym.org" "praseodym.org" "www.praseodym.org" "lists.praseodym.org" "l.praseodym.org"
21 "ymir.kleen.li" "kleen.li" "www.kleen.li" 21 "ymir.kleen.li" "kleen.li" "www.kleen.li"
@@ -229,6 +229,7 @@ in rec {
229 "csi_pump" 229 "csi_pump"
230 "cloud_notify" 230 "cloud_notify"
231 "pep" 231 "pep"
232 "disco"
232 ]; 233 ];
233 extraConfig = '' 234 extraConfig = ''
234 reload_modules = { "group", "tls" } 235 reload_modules = { "group", "tls" }
@@ -243,6 +244,9 @@ in rec {
243 restrict_room_creation = true 244 restrict_room_creation = true
244 max_history_messages = 100 245 max_history_messages = 100
245 name = "Multi-user chats" 246 name = "Multi-user chats"
247
248 Component "proxy.xmpp.li" "proxy65"
249 proxy65_acl = {"xmpp.li", "yggdrasil.li", "praseodym.org", "141.li", "nights.email"};
246 ''; 250 '';
247 251
248 virtualHosts = builtins.listToAttrs (map (name: { inherit name; value = prosodyVirtHost name; }) 252 virtualHosts = builtins.listToAttrs (map (name: { inherit name; value = prosodyVirtHost name; })