123
This commit is contained in:
1 parent
611774b200
commit
51cda7557c
2 files changed
+7
No files matched your search
@@ -6,9 +6,15 @@
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.xray = {
|
||||
enable = true;
|
||||
settingsFile = "/etc/xray/config.json";
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 443 ];
|
||||
allowedUDPPorts = [ 443 ];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ xray ];
|
||||
}
|
||||
Reference in new issue
Block a user