From 161ad13067aa0c563a1456c496763f8d9c3818fd Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 21 Feb 2024 04:58:58 +0300 Subject: [PATCH] Dotfiles : Wait for NM online instead. --- .config/linux/system/module/common/Dotfiles.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/linux/system/module/common/Dotfiles.nix b/.config/linux/system/module/common/Dotfiles.nix index 9d6e61c..dcd569d 100644 --- a/.config/linux/system/module/common/Dotfiles.nix +++ b/.config/linux/system/module/common/Dotfiles.nix @@ -2,8 +2,8 @@ unit = { description = "Install/update dotfiles on startup."; wantedBy = [ "multi-user.target" ]; - wants = [ "network-online.target" ]; - after = [ "network-online.target" ]; + wants = [ "NetworkManager-wait-online.service" ]; + after = [ "NetworkManager-wait-online.service" ]; serviceConfig.Type = "oneshot"; script = '' cd ~