attic: Optimize IPs via /etc/hosts
This commit is contained in:
parent
c7febcb3c7
commit
edc15bd00c
2 changed files with 8 additions and 0 deletions
|
@ -73,6 +73,10 @@ in
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "attic";
|
hostName = "attic";
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
|
|
||||||
|
extraHosts = ''
|
||||||
|
127.0.0.1 attic.cache.daniel.sx
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
|
|
|
@ -102,6 +102,10 @@ in
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "sail";
|
hostName = "sail";
|
||||||
useNetworkd = true;
|
useNetworkd = true;
|
||||||
|
|
||||||
|
extraHosts = ''
|
||||||
|
10.99.99.4 attic.cache.daniel.sx
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
|
|
Loading…
Reference in a new issue