nixos-config/configs/sterni/tinc.nix

28 lines
390 B
Nix
Raw Normal View History

2019-10-24 02:20:38 +02:00
{ config, lib, pkgs, ... }:
with lib;
{
imports = [
<test-config/nixserver-server/tinc.nix>
];
2019-10-24 02:20:38 +02:00
module.cluster.services.tinc = {
"private" = {
enable = false;
2019-10-24 02:20:38 +02:00
openPort = true;
connectTo = [ "sputnik" ];
};
"retiolum" = {
enable = false;
openPort = true;
};
"test" = {
2019-10-24 02:20:38 +02:00
enable = true;
openPort = true;
};
};
}