mirror of
https://github.com/Noratrieb/vps.git
synced 2026-01-17 01:55:10 +01:00
some hostnames
This commit is contained in:
parent
33a7017375
commit
9121101308
4 changed files with 12 additions and 9 deletions
|
|
@ -9,7 +9,7 @@ in
|
|||
let
|
||||
hostsEntries = map
|
||||
(host:
|
||||
let hostConfig = builtins.getAttr host networkingConfig; in
|
||||
let hostConfig = networkingConfig."${host}"; in
|
||||
if builtins.hasAttr "wg" hostConfig then {
|
||||
name = hostConfig.wg.privateIP;
|
||||
value = [ "${host}.local" ];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue