18 lines
319 B
Nix
18 lines
319 B
Nix
|
{
|
||
|
# Networking settings
|
||
|
networking = {
|
||
|
# Choose networking method
|
||
|
wireless.enable = false;
|
||
|
dhcpcd.enable = true;
|
||
|
|
||
|
# Set hostnames
|
||
|
hosts = let
|
||
|
ips = import ../common/ips.nix;
|
||
|
in {
|
||
|
"${ips.server}" = ["server"];
|
||
|
"${ips.pc}" = ["pc"];
|
||
|
"${ips.vm}" = ["vm"];
|
||
|
};
|
||
|
};
|
||
|
}
|