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