open http/https ports

master
Jalil Arfaoui 2024-11-15 22:50:58 +01:00
parent 136fc2b70a
commit d7ab36f43d
2 changed files with 8 additions and 2 deletions

View File

@ -4,6 +4,7 @@
imports = [ imports = [
<nixpkgs/nixos/modules/virtualisation/openstack-config.nix> <nixpkgs/nixos/modules/virtualisation/openstack-config.nix>
./gandicloud.nix ./gandicloud.nix
./networking.nix
./forgejo.nix ./forgejo.nix
]; ];
@ -13,6 +14,4 @@
git tig git tig
wget wget
]; ];
# networking.firewall.enable = false;
} }

7
networking.nix Normal file
View File

@ -0,0 +1,7 @@
{ lib, pkgs, config, ... }:
{
networking = {
# firewall.enable = false;
firewall.interfaces.allowedTCPPorts = [ 80 443 ];
};
}