nixos-config/nixos/machines/sternchen/tinc.nix
2022-09-20 21:48:36 +02:00

18 lines
272 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
module.cluster.services.tinc = {
"secret" = {
enable = true;
openPort = true;
connectTo = [ "robi" ];
};
};
users.users."tinc.secret".group = "tinc.secret";
users.groups."tinc.secret" = { };
}