nixos-config/nixos/configs/workhorse/tinc.nix

24 lines
440 B
Nix
Raw Normal View History

2019-12-20 05:54:26 +01:00
{ config, lib, pkgs, ... }: {
2019-10-24 02:20:38 +02:00
module.cluster.services.tinc = {
"private" = {
enable = true;
openPort = true;
connectTo = [ "sputnik" ];
};
"retiolum" = {
enable = true;
openPort = true;
};
2021-03-05 08:22:35 +01:00
"secret" = {
2020-02-03 03:38:22 +01:00
enable = true;
openPort = true;
connectTo = [ "sputnik" ];
};
2019-10-24 02:20:38 +02:00
};
2021-10-31 17:49:44 +01:00
sops.secrets.tinc_retiolum_ed25519_key = { };
sops.secrets.tinc_retiolum_rsa_key = { };
2019-10-24 02:20:38 +02:00
}