fix wait-online for probook

This commit is contained in:
catvayor 2024-10-03 23:57:58 +02:00
parent be51200cc5
commit 083d2646f5
Signed by: lbailly
GPG key ID: CE3E645251AC63F3

View file

@ -18,7 +18,16 @@
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
networking.networkmanager.enable = true; networking = {
interfaces.enp2s0.useDHCP = lib.mkDefault true;
networkmanager = {
enable = true;
unmanaged = [
"enp2s0"
];
};
};
systemd.network.wait-online.anyInterface = true;
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;