mirror of
https://github.com/elitak/nixos-infect.git
synced 2024-12-23 00:28:28 +03:00
disable dhcp
This commit is contained in:
parent
5d08c81d09
commit
82d0ebb06e
1 changed files with 1 additions and 0 deletions
|
@ -78,6 +78,7 @@ EOF
|
||||||
];
|
];
|
||||||
defaultGateway = "${gateway}";
|
defaultGateway = "${gateway}";
|
||||||
defaultGateway6 = "${gateway6}";
|
defaultGateway6 = "${gateway6}";
|
||||||
|
dhcpcd.enable = false;
|
||||||
interfaces = {
|
interfaces = {
|
||||||
$eth0_name = {
|
$eth0_name = {
|
||||||
ipv4.addresses = [$(for a in "${eth0_ip4s[@]}"; do echo -n "
|
ipv4.addresses = [$(for a in "${eth0_ip4s[@]}"; do echo -n "
|
||||||
|
|
Loading…
Reference in a new issue