nixos/wireguard-networkd: fix 'cannot find device' error (#430762)

Changed files
+1 -1
nixos
modules
services
+1 -1
nixos/modules/services/networking/wireguard-networkd.nix
···
# See: https://github.com/systemd/systemd/issues/9911
# This hack does the job but takes down the whole interface to do it.
script = ''
-
ip link delete ${name}
+
ip link delete ${name} || :
networkctl reload
'';
};