fix: Don't enable NetworkManager-wait-online

This commit is contained in:
uttarayan21
2024-12-03 19:48:32 +05:30
parent 429cb4256a
commit 810205eb56

View File

@@ -4,6 +4,7 @@
{ {
config, config,
pkgs, pkgs,
lib,
... ...
}: { }: {
imports = [ imports = [
@@ -14,6 +15,7 @@
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
systemd.services.NetworkManager-wait-online.enable = lib.mkForce false;
nix = { nix = {
settings = { settings = {
@@ -45,7 +47,7 @@
}; };
networking.hostName = "deoxys"; # Define your hostname. networking.hostName = "deoxys"; # Define your hostname.
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# Configure network proxy if necessary # Configure network proxy if necessary
# networking.proxy.default = "http://user:password@proxy:port/"; # networking.proxy.default = "http://user:password@proxy:port/";