20 lines
391 B
Nix
20 lines
391 B
Nix
{ config, lib, pkgs, ... }: {
|
|
|
|
networking = {
|
|
hostName = "sandbox";
|
|
interfaces.eth0 = {
|
|
ipv4.addresses = [{
|
|
address = "192.168.1.148";
|
|
prefixLength = 24;
|
|
}];
|
|
ipv6.addresses = [{
|
|
address = "fe80::148";
|
|
prefixLength = 64;
|
|
}];
|
|
};
|
|
defaultGateway = {
|
|
address = "192.168.1.1";
|
|
interface = "eth0";
|
|
};
|
|
};
|
|
}
|