2022-01-27 19:51:53 +00:00
|
|
|
{ pkgs, lib, config, ... }:
|
2016-07-20 18:09:47 +00:00
|
|
|
{
|
2016-10-30 18:59:12 +00:00
|
|
|
imports = [
|
|
|
|
../binary-cache/lass.nix
|
|
|
|
];
|
2016-07-20 18:09:47 +00:00
|
|
|
krebs.tinc.retiolum.enable = true;
|
2022-01-27 19:51:53 +00:00
|
|
|
krebs.tinc.retiolum.extraConfig = ''
|
|
|
|
StrictSubnets = yes
|
|
|
|
${lib.optionalString (config.krebs.build.host.nets.retiolum.via != null) ''
|
|
|
|
LocalDiscovery = no
|
|
|
|
''}
|
|
|
|
'';
|
2018-09-16 23:11:57 +00:00
|
|
|
environment.systemPackages = [ pkgs.tinc ];
|
2018-12-13 00:34:15 +00:00
|
|
|
networking.firewall.allowedTCPPorts = [ config.krebs.build.host.nets.retiolum.tinc.port ];
|
|
|
|
networking.firewall.allowedUDPPorts = [ config.krebs.build.host.nets.retiolum.tinc.port ];
|
2022-01-27 19:51:53 +00:00
|
|
|
|
2016-07-20 18:09:47 +00:00
|
|
|
}
|