1
0
Fork 0
mirror of https://github.com/elitak/nixos-infect.git synced 2025-01-13 18:21:57 +03:00

Merge pull request from obadz/dhcp

disable dhcp
This commit is contained in:
Eric Litak 2018-06-09 18:38:00 -07:00 committed by GitHub
commit 520f3973ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,6 +78,7 @@ EOF
];
defaultGateway = "${gateway}";
defaultGateway6 = "${gateway6}";
dhcpcd.enable = false;
interfaces = {
$eth0_name = {
ipv4.addresses = [$(for a in "${eth0_ip4s[@]}"; do echo -n "