mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2024-11-15 13:23:11 +01:00
nuc: configure static IP
This commit is contained in:
parent
738e94e366
commit
44240a38d7
|
@ -29,8 +29,12 @@
|
||||||
};
|
};
|
||||||
networks."10-wired" = {
|
networks."10-wired" = {
|
||||||
matchConfig.Name = "eno1";
|
matchConfig.Name = "eno1";
|
||||||
|
address = [ "192.168.42.2/24" ];
|
||||||
|
routes = [{
|
||||||
|
routeConfig.Gateway = "192.168.42.1";
|
||||||
|
}];
|
||||||
networkConfig = {
|
networkConfig = {
|
||||||
DHCP = "yes";
|
DNS = "192.168.42.1";
|
||||||
LLDP = true;
|
LLDP = true;
|
||||||
EmitLLDP = "nearest-bridge";
|
EmitLLDP = "nearest-bridge";
|
||||||
DNSSEC = false;
|
DNSSEC = false;
|
||||||
|
|
Loading…
Reference in a new issue