Compare commits

...

1 Commits

Author SHA1 Message Date
coolneng 9ac2ca48b1
Set hostname and hostId 2021-03-15 10:54:16 +01:00
1 changed files with 4 additions and 2 deletions

View File

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