{ config, lib, pkgs, ... }: with lib; { module.cluster.services.tinc = { "private" = { enable = true; openPort = true; connectTo = [ "sputnik" "robi" ]; }; "retiolum" = { enable = true; openPort = true; }; "secret" = { enable = true; openPort = true; connectTo = [ "sputnik" ]; }; }; users.users."tinc.retiolum".group = "tinc.retiolum"; users.groups."tinc.retiolum" = { }; users.users."tinc.secret".group = "tinc.secret"; users.groups."tinc.secret" = { }; }