Disable DHCP

Otherwise, the default route disappears and the server becomes
unreachable after some time.
This commit is contained in:
Jakob Lechner 2023-06-27 12:26:37 +00:00
parent f22030d646
commit 76250ae3f8
No known key found for this signature in database
GPG key ID: 996082EFB5906C10

View file

@ -11,6 +11,8 @@
services.openssh.enable = true;
security.sudo.wheelNeedsPassword = false;
networking.useDHCP = false;
systemd.network = {
enable = true;
networks."10-wan" = {