nixos-config/nixos/configs/sputnik/tinc.nix
2022-01-13 13:40:18 +01:00

16 lines
298 B
Nix

{ config, lib, pkgs, ... }: {
module.cluster.services.tinc = {
"private" = {
enable = true;
openPort = true;
};
"secret" = {
enable = true;
openPort = true;
};
};
users.users."tinc.secret".group = "tinc.secret";
users.groups."tinc.secret" = { };
}