19 lines
345 B
Nix
19 lines
345 B
Nix
{ config, lib, pkgs, ... }: {
|
|
|
|
module.cluster.services.tinc = {
|
|
"private" = {
|
|
enable = true;
|
|
openPort = true;
|
|
connectTo = [ ];
|
|
};
|
|
"secret" = {
|
|
enable = true;
|
|
openPort = true;
|
|
connectTo = [ ];
|
|
};
|
|
};
|
|
|
|
users.users."tinc.secret".group = "tinc.secret";
|
|
users.groups."tinc.secret" = { };
|
|
|
|
}
|