This commit is contained in:
2025-07-24 12:37:15 +03:00
parent 6b0698de26
commit ef38dc4e59
6 changed files with 118 additions and 23 deletions
+20
View File
@@ -0,0 +1,20 @@
{ inputs, ... }@flakeContext:
{
config,
lib,
pkgs,
...
}:
{
services.xray = {
enable = true;
settings = inputs.zeroq-credentials.services.xray;
};
networking.firewall = {
allowedTCPPorts = [ 443 ];
allowedUDPPorts = [ 443 ];
};
environment.systemPackages = with pkgs; [ xray ];
}