nixos-config/machines/chungus/network-tinc-retiolum.nix

13 lines
477 B
Nix
Raw Normal View History

2024-06-02 21:38:48 +02:00
{ config, factsGenerator, ... }:
2023-07-05 20:43:59 +02:00
{
2024-06-02 21:38:48 +02:00
clanCore.facts.services.tinc_retiolum = factsGenerator.tinc { name = "retiolum"; };
2023-07-05 20:43:59 +02:00
networking.retiolum.port = 720;
2023-10-20 08:46:57 +02:00
networking.retiolum.nodename = "centauri";
2023-07-05 20:43:59 +02:00
services.tinc.networks.retiolum = {
2024-06-05 09:34:25 +02:00
ed25519PrivateKeyFile = config.clanCore.facts.services.tinc_retiolum.secret."tinc.retiolum.ed25519_key.priv".path;
rsaPrivateKeyFile = config.clanCore.facts.services.tinc_retiolum.secret."tinc.retiolum.rsa_key.priv".path;
2023-07-05 20:43:59 +02:00
};
}