Everest: declare interface for default gateway

This commit is contained in:
Toast 2023-12-01 00:03:37 +01:00
parent 7d9ec83e15
commit b55f9e1558

View file

@ -28,10 +28,14 @@
prefixLength = 24;
} ];
};
defaultGateway = "192.168.0.1";
# I use networkd, so I need to declare the interface for the default gateway
defaultGateway = {
address = "192.168.0.1";
interface = "eno1";
};
nameservers = [ "8.8.8.8" ];
};
# Define a user account. Don't forget to set a password with passwd.
users.users.toast = {
isNormalUser = true;