mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
24 lines
470 B
Nix
24 lines
470 B
Nix
{...}: {
|
|
# This file was populated at runtime with the networking
|
|
# details gathered from the active system.
|
|
networking = {
|
|
useDHCP = false;
|
|
nameservers = [
|
|
"192.168.1.1"
|
|
"192.168.1.250"
|
|
"8.8.8.8"
|
|
"8.8.4.4"
|
|
];
|
|
defaultGateway = {
|
|
address = "192.168.1.1";
|
|
};
|
|
interfaces.eth0 = {
|
|
ipv4.addresses = [
|
|
{
|
|
address = "192.168.1.230";
|
|
prefixLength = 24;
|
|
}
|
|
];
|
|
};
|
|
};
|
|
} |