marleyos/modules/nixos/system/networking.nix
punkfairie 106b0d752e
feat: wrap all config in config = {}
To make it easier to add other top level attrsets if needed
2025-05-26 13:29:52 -07:00

18 lines
274 B
Nix

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