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

26 lines
566 B
Nix
Raw Normal View History

name:
2019-11-28 11:38:03 +01:00
(import ../outer-defaults.nix name) // {
config = { config, pkgs, lib, ... }: {
imports = [ ../inner-defaults.nix ../../../../lib/yggdrasil-hq.nix ];
2019-11-29 21:29:50 +01:00
services.uhub = {
2019-11-28 11:38:03 +01:00
enable = true;
enableTLS = false;
hubConfig = ''
hub_name=c3d2
hub_description=<<</>>
'';
plugins.history.enable = true;
plugins.welcome = {
enable = true;
motd = config.users.motd;
};
2019-11-28 11:38:03 +01:00
};
networking.firewall.allowedTCPPorts = [ config.services.uhub.port ];
hq.yggdrasil.enable = true;
};
2019-11-29 21:29:50 +01:00
2019-11-28 11:38:03 +01:00
}