From e8d1f6fcb7e0a950c9278f1be85cc863fb4bcc8d Mon Sep 17 00:00:00 2001 From: sefidel Date: Mon, 15 Jan 2024 21:33:35 +0900 Subject: fix(nixos): work around nm-online * This makes NetworkManager-wait-online service only wait for the network to be reachable, instead of waiting for the startup to complete. --- nixos/haruka/configuration.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nixos/haruka') diff --git a/nixos/haruka/configuration.nix b/nixos/haruka/configuration.nix index cc79c3b..ded7205 100644 --- a/nixos/haruka/configuration.nix +++ b/nixos/haruka/configuration.nix @@ -67,6 +67,11 @@ networking.networkmanager.enable = true; networking.firewall.enable = true; + # TODO: https://github.com/NixOS/nixpkgs/issues/180175 + systemd.services.NetworkManager-wait-online.serviceConfig.ExecStart = '' + ${pkgs.networkmanager}/bin/nm-online -q + ''; + programs.nm-applet.enable = true; i18n.defaultLocale = "en_US.UTF-8"; -- cgit 1.4.1