nixos-config/nixos/machines/robi/tinc.nix
2022-10-13 10:51:21 +02:00

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" = { };
}