add workaround for annoying network-manager-online systemd breakage
This commit is contained in:
parent
c1309c7d92
commit
18eacb26dc
1 changed files with 8 additions and 0 deletions
|
@ -33,6 +33,14 @@
|
||||||
# Enable networking
|
# Enable networking
|
||||||
networking.networkmanager.enable = true;
|
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.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue