From 88979bafe92bd439cdcaed9c83a50a32255609cb Mon Sep 17 00:00:00 2001 From: David Wagner Date: Sat, 10 Aug 2024 22:18:38 +0200 Subject: [PATCH] Workaround for NetworkManager's nm-online service during deployment --- x230.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/x230.nix b/x230.nix index 8956257..162ed87 100644 --- a/x230.nix +++ b/x230.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, ... }: +{ config, lib, pkgs, ... }: { imports = [ @@ -21,6 +21,10 @@ networkmanager.enable = true; }; + # Workaround for " Failed to start Network Manager Wait Online." after `nixos-rebuild switch` + # See https://github.com/NixOS/nixpkgs/issues/180175 + systemd.services.NetworkManager-wait-online.enable = lib.mkForce false; + # Set your time zone. time.timeZone = "Europe/Zurich";