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

16 lines
232 B
Nix

{
lib,
config,
...
}: {
networking = {
networkmanager.enable = true;
firewall = {
enable = true;
allowedTCPPorts = [80 443];
};
wireless.enable = lib.mkIf config.marleyos.isServer false;
};
}