19 lines
357 B
Nix
19 lines
357 B
Nix
{
|
|
config,
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
config = lib.mkMerge [
|
|
(lib.mkIf config.osbmModules.services.tailscale.enable {
|
|
services.tailscale = {
|
|
enable = true;
|
|
port = 51513;
|
|
};
|
|
|
|
networking.firewall.allowedUDPPorts = [ config.services.tailscale.port ];
|
|
environment.systemPackages = [ pkgs.tailscale ];
|
|
})
|
|
];
|
|
}
|