Dotfiles : Wait for NM online instead.

This commit is contained in:
Dmitry Voronin 2024-02-21 04:58:58 +03:00
parent 67b1149593
commit 161ad13067

View file

@ -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 ~