13 lines
227 B
Nix
13 lines
227 B
Nix
{ ... }:
|
|
{
|
|
networking = {
|
|
interfaces."wlp1s0".ipv4.addresses = [{
|
|
address = "10.2.0.101";
|
|
prefixLength = 8;
|
|
}];
|
|
defaultGateway = {
|
|
address = "10.1.0.1";
|
|
interface = "wlp1s0";
|
|
};
|
|
};
|
|
}
|