Merge pull request #114128 from jorsn/docs.fix-hostName

nixos/docs: fix example for code-generated modules
This commit is contained in:
Maximilian Bosch 2021-04-09 18:05:51 +02:00 committed by GitHub
commit 842f900e73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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