nix-config/hosts/server7/containers/adc/default.nix

26 lines
466 B
Nix
Raw Normal View History

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;
motd = builtins.readFile ../../../../lib/motd;
};
};
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
}