Merge pull request #85328 from langston-barrett/lb/restart-dispatcher
nixos/networkmanager: restart dispatcher when nameservers change
This commit is contained in:
commit
a55bb108fc
@ -458,7 +458,7 @@ in {
|
|||||||
|
|
||||||
systemd.services.NetworkManager-dispatcher = {
|
systemd.services.NetworkManager-dispatcher = {
|
||||||
wantedBy = [ "network.target" ];
|
wantedBy = [ "network.target" ];
|
||||||
restartTriggers = [ configFile ];
|
restartTriggers = [ configFile overrideNameserversScript ];
|
||||||
|
|
||||||
# useful binaries for user-specified hooks
|
# useful binaries for user-specified hooks
|
||||||
path = [ pkgs.iproute pkgs.utillinux pkgs.coreutils ];
|
path = [ pkgs.iproute pkgs.utillinux pkgs.coreutils ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user