This commit is contained in:
2025-07-23 21:28:07 +03:00
parent b480c94188
commit 611774b200
2 changed files with 15 additions and 0 deletions
Executable → Regular
+1
View File
@@ -119,6 +119,7 @@
nextcloud = import ./modules/server/nextcloud.nix flakeContext;
nginx = import ./modules/server/cloudflared.nix flakeContext;
zerotier = import ./modules/server/zerotier.nix flakeContext;
xray = import ./modules/server/xray.nix flakeContext;
};
};
+14
View File
@@ -0,0 +1,14 @@
{ inputs, ... }@flakeContext:
{
config,
lib,
pkgs,
...
}:
{
networking.firewall = {
allowedTCPPorts = [ 443 ];
allowedUDPPorts = [ 443 ];
};
environment.systemPackages = with pkgs; [ xray ];
}