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 = {
|
||||
hostName = "attic";
|
||||
useNetworkd = true;
|
||||
|
||||
extraHosts = ''
|
||||
127.0.0.1 attic.cache.daniel.sx
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
|
|
|
@ -102,6 +102,10 @@ in
|
|||
networking = {
|
||||
hostName = "sail";
|
||||
useNetworkd = true;
|
||||
|
||||
extraHosts = ''
|
||||
10.99.99.4 attic.cache.daniel.sx
|
||||
'';
|
||||
};
|
||||
|
||||
systemd.network = {
|
||||
|
|
Loading…
Reference in a new issue