Skip to content

Commit

Permalink
Workaround for NetworkManager's nm-online service during deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
wagdav committed Aug 10, 2024
1 parent 4bd1b14 commit 88979ba
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion x230.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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";

Expand Down

0 comments on commit 88979ba

Please sign in to comment.