2021-03-05 08:22:35 +01:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
module.cluster.services.tinc = {
|
|
|
|
"secret" = {
|
|
|
|
enable = true;
|
|
|
|
openPort = true;
|
2022-06-26 17:50:32 +02:00
|
|
|
connectTo = [ "robi" ];
|
2021-03-05 08:22:35 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2022-02-07 19:13:27 +01:00
|
|
|
users.users."tinc.secret".group = "tinc.secret";
|
|
|
|
users.groups."tinc.secret" = { };
|
|
|
|
|
2021-03-05 08:22:35 +01:00
|
|
|
}
|