nix/modules/system/networking/default.nix

15 lines
322 B
Nix
Raw Normal View History

2024-10-04 18:30:45 +02:00
{
2024-12-08 09:25:45 +01:00
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"];
};
2024-09-15 19:36:11 +02:00
}