16 lines
298 B
Nix
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" = { };
|
|
|
|
}
|