diff --git a/hosts/cube.nix b/hosts/cube.nix index 930708f..f64857f 100644 --- a/hosts/cube.nix +++ b/hosts/cube.nix @@ -33,6 +33,14 @@ # Enable networking networking.networkmanager.enable = true; + # Workaround for broken networkmanager/systemd thing + # https://github.com/NixOS/nixpkgs/issues/180175#issuecomment-1658731959 + systemd.services.NetworkManager-wait-online = { + serviceConfig = { + ExecStart = [ "" "${pkgs.networkmanager}/bin/nm-online -q" ]; + }; + }; + # Set your time zone. time.timeZone = "Europe/Berlin";