mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-11 12:40:44 +03:00
123
This commit is contained in:
@@ -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