better way to declare hosts
This commit is contained in:
parent
c2542bd98b
commit
9419a12823
@ -5,11 +5,11 @@
|
||||
enableIPv6 = true;
|
||||
firewall.enable = true;
|
||||
networkmanager.enable = true;
|
||||
extraHosts = ''
|
||||
192.168.1.64 workstation
|
||||
192.168.1.69 server
|
||||
192.168.1.100 miniserver
|
||||
'';
|
||||
hosts = {
|
||||
"192.168.1.64" = [ "workstation" ];
|
||||
"192.168.1.69" = [ "server" ];
|
||||
"192.168.1.100" = [ "miniserver" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user