rico0: start blocky after network is ready
This commit is contained in:
parent
c1cb4ca433
commit
23779c1331
1 changed files with 2 additions and 3 deletions
|
@ -9,14 +9,13 @@ _: {
|
|||
];
|
||||
};
|
||||
};
|
||||
systemd.services.blocky.unitConfig.Requires = "wireguard-wg0.service";
|
||||
systemd.services.blocky.unitConfig.After = [ "wireguard-wg0.service" ];
|
||||
systemd.services.blocky.unitConfig.After = [ "network-online.target" "wireguard-wg0.service" ];
|
||||
services.blocky = {
|
||||
enable = true;
|
||||
settings = {
|
||||
bootstrapDns = [ "tcp+udp:1.1.1.1" ];
|
||||
upstreams = {
|
||||
init.strategy = "failOnError";
|
||||
init.strategy = "blocking";
|
||||
groups = {
|
||||
default = [
|
||||
# Google
|
||||
|
|
Loading…
Reference in a new issue