mirror of
https://github.com/oqyude/nixos.git
synced 2026-06-15 06:30:10 +03:00
so mad
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
{ inputs, ... }@flakeContext:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services.xray = {
|
||||
enable = true;
|
||||
settings = inputs.zeroq-credentials.services.xray;
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
allowedTCPPorts = [ 443 ];
|
||||
allowedUDPPorts = [ 443 ]; # 41641
|
||||
#trustedInterfaces = [ "tailscale0" ];
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [ xray ];
|
||||
}
|
||||
Reference in New Issue
Block a user