summaryrefslogtreecommitdiff
path: root/lib/nginx.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2024-06-30 09:56:30 -0400
committerseth <[email protected]>2024-06-30 10:23:04 -0400
commit088facf700946cb8f2d96c6089185bdc2a67180a (patch)
treec5b4e4cffbb3ee4ad2498c2251892bd457e9d3c7 /lib/nginx.nix
parent5d3045a0769af3a94fba7b5cf646e8498aaef595 (diff)
alejandra -> nixfmt-rfc-style
Diffstat (limited to 'lib/nginx.nix')
-rw-r--r--lib/nginx.nix5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/nginx.nix b/lib/nginx.nix
index 0564dba..e7c22c3 100644
--- a/lib/nginx.nix
+++ b/lib/nginx.nix
@@ -12,8 +12,5 @@ lib: {
# string -> { } -> { }
# transform the names of an attribute set of nginx virtualHosts
# into a full subdomain
- toVHosts = domain:
- lib.mapAttrs' (
- name: lib.nameValuePair "${name}.${domain}"
- );
+ toVHosts = domain: lib.mapAttrs' (name: lib.nameValuePair "${name}.${domain}");
}