nixos-config/nixos/machines/robi/tinc.nix

20 lines
345 B
Nix
Raw Normal View History

2021-12-28 16:19:29 +01:00
{ config, lib, pkgs, ... }: {
module.cluster.services.tinc = {
"private" = {
enable = true;
openPort = true;
connectTo = [ ];
};
2022-02-07 19:13:27 +01:00
"secret" = {
enable = true;
openPort = true;
connectTo = [ ];
};
2021-12-28 16:19:29 +01:00
};
2022-02-07 19:13:27 +01:00
users.users."tinc.secret".group = "tinc.secret";
users.groups."tinc.secret" = { };
2021-12-28 16:19:29 +01:00
}