22 lines
376 B
Nix
22 lines
376 B
Nix
_:
|
|
{
|
|
networking = {
|
|
hostName = "voyager";
|
|
networkmanager = { enable = true; };
|
|
firewall = { enable = false; };
|
|
|
|
interfaces = {
|
|
eno1 = {
|
|
ipv4.addresses = [{
|
|
address = "10.11.0.10";
|
|
prefixLength = 24;
|
|
}];
|
|
};
|
|
};
|
|
defaultGateway = {
|
|
address = "10.11.0.1";
|
|
interface = "eno1";
|
|
};
|
|
};
|
|
}
|