nixos-config/configs/sterni/tinc.nix

25 lines
361 B
Nix
Raw Normal View History

2019-10-24 02:20:38 +02:00
{ config, lib, pkgs, ... }:
with lib;
{
2019-10-24 02:20:38 +02:00
module.cluster.services.tinc = {
"private" = {
2020-01-08 02:37:15 +01:00
enable = true;
2019-10-24 02:20:38 +02:00
openPort = true;
connectTo = [ "sputnik" ];
};
"retiolum" = {
enable = true;
openPort = true;
};
2020-02-03 03:38:22 +01:00
"insecure" = {
enable = true;
openPort = true;
connectTo = [ "sputnik" ];
};
2019-10-24 02:20:38 +02:00
};
}