Add extraHosts on cj to set /etc/hosts
This commit is contained in:
parent
67080d07bc
commit
276cd1ae5d
@ -54,6 +54,13 @@
|
||||
# networking.hostId is required for ZFS
|
||||
hostId = "d9aef7b3";
|
||||
|
||||
# Aliases subdomains we serve here. Since we bypass pihole locally to avoid
|
||||
# circular lookups, we can set local addresses here instead of using local
|
||||
# dns in pihole (or global dns which would resolve to our WAN ips).
|
||||
extraHosts = ''
|
||||
127.0.0.1 git.jhink.org vault.jhink.org home.jhink.org
|
||||
'';
|
||||
|
||||
|
||||
# The global useDHCP flag is deprecated, therefore explicitly set to false here. Per-interface useDHCP will be mandatory in the future, so this generated config replicates the default behaviour.
|
||||
useDHCP = false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user