Compare commits

..

1 Commits

Author SHA1 Message Date
9e5a654299
Set hostname and hostId 2021-03-15 10:40:49 +01:00

View File

@ -3,14 +3,14 @@
{ {
# Assign a static IP # Assign a static IP
networking = { networking = {
hostName = "unit"; hostname = "unit";
hostId = "737d82f4"; hostId = "737d82f4";
interfaces.eth0 = { interfaces.eth0 = {
useDHCP = false; useDHCP = false;
ipv4.addresses = [{ addresses = {
address = "10.0.1.3"; address = "10.0.1.3";
prefixLength = 24; prefixLength = 24;
}]; };
}; };
defaultGateway = { defaultGateway = {
address = "10.0.1.1"; address = "10.0.1.1";