fmt: tree
This commit is contained in:
parent
b7954dfd8b
commit
eebe33cc73
|
@ -99,7 +99,13 @@ in {
|
|||
else builtins.throw "No VPN entry for DNS host"
|
||||
)
|
||||
else builtins.throw "No DNS service defined!";
|
||||
vpn.cnames = (if state ? cnames then state.cnames else {}) // (
|
||||
vpn.cnames =
|
||||
(
|
||||
if state ? cnames
|
||||
then state.cnames
|
||||
else {}
|
||||
)
|
||||
// (
|
||||
builtins.mapAttrs (_name: value: value.host) config.state.services
|
||||
);
|
||||
services =
|
||||
|
|
|
@ -12,4 +12,3 @@ writeShellApplication {
|
|||
nushell
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue