mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 20:50:47 +03:00
20 lines
285 B
Nix
Executable File
20 lines
285 B
Nix
Executable File
{
|
|
config,
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}:
|
|
{
|
|
services.xray = {
|
|
enable = true;
|
|
settings = inputs.zeroq-credentials.services.xray;
|
|
};
|
|
|
|
networking.firewall = {
|
|
allowedTCPPorts = [ 8443 ];
|
|
allowedUDPPorts = [ 8443 ];
|
|
};
|
|
|
|
environment.systemPackages = [ pkgs.xray ];
|
|
}
|