summaryrefslogtreecommitdiff
path: root/lib/nginx.nix
diff options
context:
space:
mode:
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}");
}