'Fix' wireguard autostart

This commit is contained in:
Vili Sinervä 2024-08-01 22:12:02 +03:00
parent 3ae1f4c06e
commit edb21f673d
No known key found for this signature in database
GPG key ID: DF8FEAF54EFAC996

View file

@ -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 = { nix.settings = {
cores = 3; cores = 3;