nixos-config/configs/workhorse/tinc.nix
2020-02-03 15:38:22 +13:00

20 lines
349 B
Nix

{ config, lib, pkgs, ... }: {
module.cluster.services.tinc = {
"private" = {
enable = true;
openPort = true;
connectTo = [ "sputnik" ];
};
"retiolum" = {
enable = true;
openPort = true;
};
"insecure" = {
enable = true;
openPort = true;
connectTo = [ "sputnik" ];
};
};
}