Put the sleep back into wireguard.
This commit is contained in:
parent
f7adfaf54d
commit
233bf4e967
@ -12,13 +12,8 @@ let
|
|||||||
"network-online.target"
|
"network-online.target"
|
||||||
"nss-lookup.target"
|
"nss-lookup.target"
|
||||||
];
|
];
|
||||||
|
preStart = "${pkgs.toybox}/bin/sleep 3";
|
||||||
};
|
};
|
||||||
# systemd.services."wg-quick-${name}".after = [
|
|
||||||
# "nss-lookup.target"
|
|
||||||
# "systemd-resolved.service"
|
|
||||||
# "multi-user.target"
|
|
||||||
# ];
|
|
||||||
# systemd.services."wg-quick-${name}".preStart = "${pkgs.toybox}/bin/sleep 10";
|
|
||||||
};
|
};
|
||||||
deactivatedWg = name: {
|
deactivatedWg = name: {
|
||||||
networking.wg-quick.interfaces."${name}" = {
|
networking.wg-quick.interfaces."${name}" = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user