2019-11-28 11:38:03 +01:00
|
|
|
{ config, pkgs, lib, ... }:
|
|
|
|
|
|
|
|
{
|
2019-11-29 21:29:50 +01:00
|
|
|
imports = [
|
2019-11-29 21:51:20 +01:00
|
|
|
../../../../lib/hq.nix
|
2019-11-29 21:29:50 +01:00
|
|
|
];
|
|
|
|
|
2019-11-28 11:38:03 +01:00
|
|
|
services.uhub = {
|
|
|
|
enable = true;
|
|
|
|
enableTLS = false;
|
|
|
|
hubConfig = ''
|
|
|
|
hub_name=c3d2
|
|
|
|
hub_description=<<</>>
|
|
|
|
'';
|
|
|
|
plugins.history.enable = true;
|
|
|
|
plugins.welcome = {
|
|
|
|
enable = true;
|
2019-12-03 15:01:10 +01:00
|
|
|
motd = config.users.motd;
|
2019-11-28 11:38:03 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.firewall.allowedTCPPorts = [ config.services.uhub.port ];
|
2019-11-29 21:29:50 +01:00
|
|
|
|
|
|
|
hq.yggdrasil.enable = true;
|
2019-11-28 11:38:03 +01:00
|
|
|
}
|