This commit is contained in:
parent
0e672afa68
commit
cee4f88e9c
1 changed files with 17 additions and 0 deletions
|
|
@ -57,5 +57,22 @@
|
||||||
"net.ipv6.conf.all.accept_ra" = 0;
|
"net.ipv6.conf.all.accept_ra" = 0;
|
||||||
"net.ipv6.conf.default.accept_ra" = 0;
|
"net.ipv6.conf.default.accept_ra" = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# NetworkManager only re-runs its connectivity probe on link-up or every
|
||||||
|
# 5 minutes. If the first boot probe races NM startup and reports
|
||||||
|
# "limited", GNOME caches that state until the next repoll — which is
|
||||||
|
# what surfaces as the persistent "?" icon. This oneshot kicks an
|
||||||
|
# explicit recheck once everything's online, which forces NM to
|
||||||
|
# transition to "full" and the icon clears.
|
||||||
|
systemd.services.nm-connectivity-kick = {
|
||||||
|
description = "Force NetworkManager connectivity recheck after boot";
|
||||||
|
after = [ "NetworkManager.service" "network-online.target" ];
|
||||||
|
wants = [ "network-online.target" ];
|
||||||
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Type = "oneshot";
|
||||||
|
ExecStart = "${pkgs.networkmanager}/bin/nmcli networking connectivity check";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue