nixos/docs: fix example for code-generated modules

This commit is contained in:
Johannes Rosenberger 2021-02-23 15:38:11 +01:00
parent b0592a3e2e
commit aa5124d229

View File

@ -133,7 +133,7 @@ true
<programlisting>
{ config, pkgs, ... }:
let netConfig = { hostName }: {
let netConfig = hostName: {
networking.hostName = hostName;
networking.useDHCP = false;
};