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 = { unit = {
description = "Install/update dotfiles on startup."; description = "Install/update dotfiles on startup.";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
wants = [ "network-online.target" ]; wants = [ "NetworkManager-wait-online.service" ];
after = [ "network-online.target" ]; after = [ "NetworkManager-wait-online.service" ];
serviceConfig.Type = "oneshot"; serviceConfig.Type = "oneshot";
script = '' script = ''
cd ~ cd ~