Files
nixos/nixosModules/pub-vds/xray.nix
T
2025-09-28 13:38:45 +03:00

20 lines
290 B
Nix

{
config,
inputs,
pkgs,
...
}:
{
services.xray = {
enable = true;
settings = inputs.zeroq-credentials.public.services.xray;
};
networking.firewall = {
allowedTCPPorts = [ 443 ];
allowedUDPPorts = [ 443 ];
};
environment.systemPackages = [ pkgs.xray ];
}