marleyos/modules/nixos/base/networking/default.nix

17 lines
232 B
Nix
Raw Normal View History

2025-02-18 04:24:29 +00:00
{
lib,
config,
...
}: {
2025-02-26 04:12:54 +00:00
networking = {
networkmanager.enable = true;
2025-02-18 04:24:29 +00:00
2025-02-26 04:12:54 +00:00
firewall = {
enable = true;
allowedTCPPorts = [80 443];
};
wireless.enable = lib.mkIf config.marleyos.isServer false;
};
2025-01-07 02:29:02 +00:00
}