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 = [ "network-online.target" "wireguard-wg0.service" ];
|
||||||
systemd.services.blocky.unitConfig.After = [ "wireguard-wg0.service" ];
|
|
||||||
services.blocky = {
|
services.blocky = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
bootstrapDns = [ "tcp+udp:1.1.1.1" ];
|
bootstrapDns = [ "tcp+udp:1.1.1.1" ];
|
||||||
upstreams = {
|
upstreams = {
|
||||||
init.strategy = "failOnError";
|
init.strategy = "blocking";
|
||||||
groups = {
|
groups = {
|
||||||
default = [
|
default = [
|
||||||
# Google
|
# Google
|
||||||
|
|
Loading…
Reference in a new issue