'Fix' wireguard autostart
This commit is contained in:
parent
3ae1f4c06e
commit
edb21f673d
1 changed files with 5 additions and 0 deletions
|
@ -47,6 +47,11 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
# Dirty hack to fix autostart failing due to DNS lookups
|
||||
systemd.services."wg-quick-wg0".serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
RestartSec = "1s";
|
||||
};
|
||||
|
||||
nix.settings = {
|
||||
cores = 3;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue