fmt: tree

This commit is contained in:
Malte Tammena 2024-11-17 18:09:11 +01:00
parent b7954dfd8b
commit eebe33cc73
4 changed files with 12 additions and 7 deletions

View file

@ -99,7 +99,13 @@ in {
else builtins.throw "No VPN entry for DNS host" else builtins.throw "No VPN entry for DNS host"
) )
else builtins.throw "No DNS service defined!"; 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 builtins.mapAttrs (_name: value: value.host) config.state.services
); );
services = services =

View file

@ -12,4 +12,3 @@ writeShellApplication {
nushell nushell
]; ];
} }