mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-01-10 07:58:30 +01:00
cdda9bcd27
This makes NixOS boot *extremely fast* since network-manager is no longer waiting 17 seconds for a network connection.
19 lines
326 B
Nix
19 lines
326 B
Nix
{
|
|
networking = {
|
|
hostName = "nixos";
|
|
|
|
networkmanager = {
|
|
enable = true;
|
|
dns = "none";
|
|
wifi.macAddress = "random";
|
|
ethernet.macAddress = "random";
|
|
};
|
|
|
|
useHostResolvConf = true;
|
|
};
|
|
|
|
services.resolved.llmnr = "false";
|
|
|
|
systemd.services.NetworkManager-wait-online.enable = false;
|
|
}
|