nixos-config/nixos/configs/sternchen/tinc.nix
2022-06-26 17:50:32 +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" = { };
}