hosts/*/networking: cleanup extraHosts
This commit is contained in:
parent
3cb4f363a5
commit
23652b008e
3 changed files with 9 additions and 12 deletions
|
|
@ -22,14 +22,10 @@
|
||||||
nameservers = [ "8.8.8.8" ];
|
nameservers = [ "8.8.8.8" ];
|
||||||
|
|
||||||
extraHosts = ''
|
extraHosts = ''
|
||||||
192.168.100.10 strawberry
|
192.168.100.12 strawberry
|
||||||
192.168.100.11 peach
|
192.168.100.15 caramel
|
||||||
192.168.100.12 butterfly
|
|
||||||
192.168.100.13 winter
|
|
||||||
192.168.100.13 blossom
|
|
||||||
192.168.100.14 apricot
|
|
||||||
|
|
||||||
10.100.0.1 fondue
|
10.100.0.1 sugarcane
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -17,12 +17,8 @@
|
||||||
nameservers = [ "8.8.8.8" ];
|
nameservers = [ "8.8.8.8" ];
|
||||||
|
|
||||||
extraHosts = ''
|
extraHosts = ''
|
||||||
192.168.100.10 strawberry
|
192.168.100.12 strawberry
|
||||||
192.168.100.11 peach
|
|
||||||
192.168.100.12 butterfly
|
|
||||||
192.168.100.13 winter
|
|
||||||
192.168.100.13 blossom
|
192.168.100.13 blossom
|
||||||
192.168.100.14 apricot
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,10 @@
|
||||||
networking = {
|
networking = {
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
interfaces.ens3.useDHCP = true;
|
interfaces.ens3.useDHCP = true;
|
||||||
|
|
||||||
|
extraHosts = ''
|
||||||
|
10.100.0.3 blossom
|
||||||
|
10.100.0.4 strawberry
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue