nix/modules/system/networking/default.nix
2024-12-08 09:25:45 +01:00

15 lines
322 B
Nix

{
lib,
config,
...
}: {
options = {
networking.enable = lib.mkEnableOption "";
};
config = lib.mkIf config.networking.enable {
networking.networkmanager.enable = true;
networking.firewall.enable = false;
networking.nameservers = ["9.9.9.9" "149.112.112.112" "2620:fe::fe" "2620:fe::9"];
};
}