27 lines
390 B
Nix
27 lines
390 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
imports = [
|
|
<test-config/nixserver-server/tinc.nix>
|
|
];
|
|
|
|
module.cluster.services.tinc = {
|
|
"private" = {
|
|
enable = false;
|
|
openPort = true;
|
|
connectTo = [ "sputnik" ];
|
|
};
|
|
"retiolum" = {
|
|
enable = false;
|
|
openPort = true;
|
|
};
|
|
"test" = {
|
|
enable = true;
|
|
openPort = true;
|
|
};
|
|
};
|
|
|
|
}
|