2019-10-24 02:20:38 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
module.cluster.services.tinc = {
|
|
|
|
"private" = {
|
|
|
|
enable = true;
|
|
|
|
openPort = true;
|
2021-12-28 16:19:29 +01:00
|
|
|
connectTo = [ "sputnik" "robi" ];
|
2019-10-24 02:20:38 +02:00
|
|
|
};
|
|
|
|
"retiolum" = {
|
|
|
|
enable = true;
|
|
|
|
openPort = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2021-10-13 20:55:57 +02:00
|
|
|
sops.secrets.tinc_retiolum_ed25519_key = { };
|
|
|
|
sops.secrets.tinc_retiolum_rsa_key = { };
|
|
|
|
|
2022-01-15 09:32:59 +01:00
|
|
|
users.users."tinc.retiolum".group = "tinc.retiolum";
|
|
|
|
users.groups."tinc.retiolum" = { };
|
2019-10-24 02:20:38 +02:00
|
|
|
}
|