diff options
author | Profpatsch <mail@profpatsch.de> | 2020-06-19 12:30:34 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2020-06-19 12:30:34 +0200 |
commit | 009d00d3e5932efa1f7371af19f1e8021d5aafb1 (patch) | |
tree | c878b17056108b45ed24a93b8e4b4d92492a4ed6 | |
parent | c437da88720fa8226ac5f48efa51a17198a5449a (diff) |
machines/legosi: wrapExecStart weechat with ip2unix for bitlbee
-rw-r--r-- | machines/profpatsch/legosi.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix index 622aad13..31ea926a 100644 --- a/machines/profpatsch/legosi.nix +++ b/machines/profpatsch/legosi.nix @@ -49,11 +49,31 @@ in { vuizvui.programs.profpatsch.weechat = { enable = true; authorizedKeys = [ myKey ]; + # redirect the bitlbee unix socket to a fake domain + # because + wrapExecStart = [ + "${pkgs.ip2unix}/bin/ip2unix" + "-r" + "addr=1.2.3.4,port=6667,path=${config.vuizvui.services.profpatsch.bitlbee.socketFile}" + ]; }; users.users.weechat.extraGroups = [ "bitlbee" ]; vuizvui.services.profpatsch.bitlbee = { enable = true; }; + + # services.nginx = { + # enable = true; + # virtualHosts.${"profpatsch.de"} = { + # forceSSL = true; + # enableACME = true; + # locations."/" = { + # index = "index.html"; + # }; + # serverAliases = [ "lojbanistan.de" ]; + # }; + # }; + }; } |